Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00218/0.002181, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.286/2.286, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.436/1.436, allocations: 132.2 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006282/0.0006284, allocations: 12.62 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.006, allocations: 81.58 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2578/1.264, allocations: 140.1 MB / 0.7198 GB, free: 4.137 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02966/1.293, allocations: 14.09 MB / 0.7336 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/1.296, allocations: 27.81 kB / 0.7336 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/1.297, allocations: 334.1 kB / 0.7339 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005747/1.303, allocations: 1.304 MB / 0.7352 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005866/1.309, allocations: 1.083 MB / 0.7362 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005381/1.314, allocations: 1.522 MB / 0.7377 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003897/1.318, allocations: 1.472 MB / 0.7392 GB, free: 272 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003548/1.322, allocations: 0.8952 MB / 0.74 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/1.324, allocations: 0.6802 MB / 0.7407 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003911/1.324, allocations: 44 kB / 0.7407 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005115/1.329, allocations: 0.9908 MB / 0.7417 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001182/1.331, allocations: 0.545 MB / 0.7422 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/1.332, allocations: 400.5 kB / 0.7426 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006076/1.338, allocations: 2.541 MB / 0.7451 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.338, allocations: 0 / 0.7451 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.016e-06/1.338, allocations: 0 / 0.7451 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001135/1.338, allocations: 0 / 0.7451 GB, free: 10.16 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.00865/1.347, allocations: 2.351 MB / 0.7474 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 9.778e-05/1.347, allocations: 12.03 kB / 0.7474 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009141/1.348, allocations: 236.6 kB / 0.7476 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005884/1.354, allocations: 0.5707 MB / 0.7482 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007882/1.362, allocations: 3.289 MB / 0.7514 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/1.362, allocations: 123.3 kB / 0.7515 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004375/1.362, allocations: 164 kB / 0.7517 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006402/1.369, allocations: 1.869 MB / 0.7535 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.069e-05/1.369, allocations: 3.984 kB / 0.7535 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003402/1.369, allocations: 83.89 kB / 0.7536 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.299e-05/1.369, allocations: 40 kB / 0.7536 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006562/1.376, allocations: 2.065 MB / 0.7556 GB, free: 15.18 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01968/1.396, allocations: 6.252 MB / 0.7617 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00609/1.402, allocations: 1.776 MB / 0.7635 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003524/1.402, allocations: 77.28 kB / 0.7636 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003099/1.405, allocations: 0.9386 MB / 0.7645 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 7.404e-06/1.405, allocations: 4 kB / 0.7645 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.01164/1.417, allocations: 2.886 MB / 0.7673 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002969/1.417, allocations: 197.2 kB / 0.7675 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009727/1.427, allocations: 4.016 MB / 0.7714 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005845/1.428, allocations: 57.7 kB / 0.7715 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001611/1.43, allocations: 0.8785 MB / 0.7723 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001201/1.431, allocations: 457.2 kB / 0.7728 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/1.431, allocations: 24 kB / 0.7728 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0005696/1.432, allocations: 349.9 kB / 0.7731 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/1.434, allocations: 0.5491 MB / 0.7736 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/1.436, allocations: 0.7657 MB / 0.7744 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002485/1.439, allocations: 0.6271 MB / 0.775 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/1.439, allocations: 4 kB / 0.775 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.006483/1.445, allocations: 1.713 MB / 0.7767 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/1.445, allocations: 8 kB / 0.7767 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.445, allocations: 0 / 0.7767 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/1.447, allocations: 220.1 kB / 0.7769 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/1.448, allocations: 319.6 kB / 0.7772 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009019/1.457, allocations: 6.858 MB / 0.7839 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/1.461, allocations: 169.1 kB / 0.7841 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005592/1.461, allocations: 47.97 kB / 0.7841 GB, free: 0.7812 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002799/1.464, allocations: 478.3 kB / 0.7846 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/1.466, allocations: 185.8 kB / 0.7847 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008979/1.475, allocations: 2.07 MB / 0.7868 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.133e-05/1.475, allocations: 12 kB / 0.7868 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.244e-05/1.475, allocations: 4 kB / 0.7868 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.892e-05/1.475, allocations: 7.969 kB / 0.7868 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/1.489, allocations: 3.8 MB / 0.7905 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/1.489, allocations: 4 kB / 0.7905 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002284/1.492, allocations: 327.8 kB / 0.7908 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/1.493, allocations: 204.1 kB / 0.791 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002365/1.493, allocations: 39.97 kB / 0.791 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009595/1.503, allocations: 6.896 MB / 0.7978 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/1.503, allocations: 3.938 kB / 0.7978 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007806/1.511, allocations: 2.111 MB / 0.7998 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002483/1.513, allocations: 0.506 MB / 0.8003 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007559/1.514, allocations: 28 kB / 0.8004 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002546/1.517, allocations: 142.3 kB / 0.8005 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004267/1.517, allocations: 117 kB / 0.8006 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002462/1.517, allocations: 63.95 kB / 0.8007 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005692/1.523, allocations: 3.088 MB / 0.8037 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9.52e-07/1.523, allocations: 0 / 0.8037 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004081/1.527, allocations: 0.643 MB / 0.8043 GB, free: 11.14 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008849/1.536, allocations: 3.819 MB / 0.8081 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005139/1.541, allocations: 1.992 MB / 0.81 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/1.541, allocations: 0.7969 kB / 0.81 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002901/1.544, allocations: 1.395 MB / 0.8114 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003528/1.548, allocations: 479.9 kB / 0.8118 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6623/2.21, allocations: 19.29 MB / 0.8307 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002647/2.213, allocations: 1.55 MB / 0.8322 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003611/2.217, allocations: 0.5064 MB / 0.8327 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001844/2.218, allocations: 0.8654 MB / 0.8335 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.934e-06/2.218, allocations: 0 / 0.8335 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/2.344, allocations: 47.01 MB / 0.8794 GB, free: 167.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/2.344, allocations: 265.2 kB / 0.8797 GB, free: 166.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.293/7.638, allocations: 9.578 kB / 0.8797 GB, free: 166.9 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) Environment - environmentSimulation: