Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009963/0.0009963, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9298/0.9298, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.714/0.714, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.655e-05, allocations: 3.156 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4906/0.4906, allocations: 171.7 MB / 0.7857 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.009708/0.5003, allocations: 6.604 MB / 0.7922 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002235/0.5026, allocations: 66.12 kB / 0.7922 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.5044, allocations: 0.688 MB / 0.7929 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005576/0.5099, allocations: 2.482 MB / 0.7953 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.5132, allocations: 1.597 MB / 0.7969 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004189/0.5174, allocations: 3.013 MB / 0.7998 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.5185, allocations: 0.714 MB / 0.8005 GB, free: 260 kB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003684/0.5222, allocations: 1.967 MB / 0.8025 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.5232, allocations: 0.7173 MB / 0.8032 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.5234, allocations: 100.4 kB / 0.8032 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003112/0.5265, allocations: 1.669 MB / 0.8049 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003966/0.5269, allocations: 399.3 kB / 0.8053 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005345/0.5274, allocations: 396.6 kB / 0.8056 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004153/0.5316, allocations: 2.447 MB / 0.808 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.5316, allocations: 4 kB / 0.808 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5316, allocations: 0 / 0.808 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.5316, allocations: 0 / 0.808 GB, free: 12.59 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002489/0.5341, allocations: 1.589 MB / 0.8096 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.5341, allocations: 12.69 kB / 0.8096 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.5343, allocations: 118.1 kB / 0.8097 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.5358, allocations: 0.5339 MB / 0.8102 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.5373, allocations: 0.9668 MB / 0.8112 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.5373, allocations: 57.64 kB / 0.8112 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/0.5374, allocations: 69.09 kB / 0.8113 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.539, allocations: 1.237 MB / 0.8125 GB, free: 9.469 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.539, allocations: 0 / 0.8125 GB, free: 9.469 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-05/0.539, allocations: 31.52 kB / 0.8125 GB, free: 9.445 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.5391, allocations: 39.7 kB / 0.8126 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.5408, allocations: 1.19 MB / 0.8137 GB, free: 8.84 MB / 0.6667 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.003618/0.5444, allocations: 2.88 MB / 0.8165 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.5454, allocations: 0.679 MB / 0.8172 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004591/0.5459, allocations: 428.6 kB / 0.8176 GB, free: 6.129 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.5462, allocations: 132.3 kB / 0.8177 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006941/0.5469, allocations: 0.6437 MB / 0.8184 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 2.184e-06/0.5469, allocations: 0 / 0.8184 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.001834/0.5487, allocations: 1.295 MB / 0.8196 GB, free: 4.895 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.5488, allocations: 144 kB / 0.8198 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.55, allocations: 1.188 MB / 0.8209 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/0.5501, allocations: 36.58 kB / 0.821 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.5504, allocations: 442.7 kB / 0.8214 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.5505, allocations: 197.1 kB / 0.8216 GB, free: 3.492 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.5507, allocations: 146.3 kB / 0.8217 GB, free: 3.406 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.5508, allocations: 330.8 kB / 0.822 GB, free: 3.082 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007015/0.5515, allocations: 469.5 kB / 0.8225 GB, free: 2.785 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008752/0.5523, allocations: 0.9785 MB / 0.8234 GB, free: 1.668 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.5535, allocations: 0.9295 MB / 0.8243 GB, free: 0.6836 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.5535, allocations: 0 / 0.8243 GB, free: 0.6836 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001927/0.5554, allocations: 1.246 MB / 0.8256 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.5555, allocations: 41.69 kB / 0.8256 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.5555, allocations: 4 kB / 0.8256 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.5555, allocations: 8 kB / 0.8256 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004515/0.556, allocations: 183.8 kB / 0.8258 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.556, allocations: 8 kB / 0.8258 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008587/0.5568, allocations: 242.2 kB / 0.826 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.5569, allocations: 35.97 kB / 0.8261 GB, free: 14.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004276/0.5573, allocations: 339.8 kB / 0.8264 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.5574, allocations: 123.2 kB / 0.8265 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.5588, allocations: 1.037 MB / 0.8275 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.5588, allocations: 4 kB / 0.8275 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.5588, allocations: 0 / 0.8275 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.5588, allocations: 8.859 kB / 0.8275 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/0.5621, allocations: 3.004 MB / 0.8305 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.5621, allocations: 8 kB / 0.8305 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.5624, allocations: 119.9 kB / 0.8306 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/0.5624, allocations: 20.5 kB / 0.8306 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.5625, allocations: 20 kB / 0.8306 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.5625, allocations: 20.48 kB / 0.8306 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.5625, allocations: 11.94 kB / 0.8307 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.564, allocations: 1.381 MB / 0.832 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004423/0.5644, allocations: 254.9 kB / 0.8322 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.89e-05/0.5645, allocations: 31.22 kB / 0.8323 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005218/0.565, allocations: 95.91 kB / 0.8324 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.836e-05/0.5651, allocations: 67.73 kB / 0.8324 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.5651, allocations: 43.97 kB / 0.8325 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009124/0.5661, allocations: 0.8443 MB / 0.8333 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5661, allocations: 0 / 0.8333 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008923/0.5669, allocations: 291.7 kB / 0.8336 GB, free: 6.906 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002041/0.569, allocations: 2.161 MB / 0.8357 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.5705, allocations: 1.04 MB / 0.8367 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.5705, allocations: 0 / 0.8367 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005518/0.571, allocations: 0.5064 MB / 0.8372 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.5727, allocations: 0.5473 MB / 0.8377 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.5839, allocations: 9.617 MB / 0.8471 GB, free: 8.477 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.5843, allocations: 478.6 kB / 0.8476 GB, free: 7.973 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001025/0.5854, allocations: 275.5 kB / 0.8478 GB, free: 7.703 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/0.5858, allocations: 360.4 kB / 0.8482 GB, free: 7.352 MB / 0.698 GB Notification: Performance of SimCode: time 2.404e-06/0.5858, allocations: 0 / 0.8482 GB, free: 7.352 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05005/0.6358, allocations: 34.51 MB / 0.8819 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/8.385, allocations: 0 / 0.8819 GB, free: 5.461 MB / 0.7292 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.249763031490147] Failed to read output from testmodel.py, exit status != 0: 8.48613425437361 8.496192713 7.9625930700000005 Calling exit ...