Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009214/0.0009214, 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.000837/0.000837, allocations: 169.9 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.9336/0.9336, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7018/0.7018, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.22e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4862/0.4862, allocations: 171.7 MB / 0.7858 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.009476/0.4957, allocations: 6.604 MB / 0.7922 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.4975, allocations: 62.69 kB / 0.7923 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.4994, allocations: 0.6981 MB / 0.793 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006699/0.5061, allocations: 2.469 MB / 0.7954 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003392/0.5095, allocations: 1.596 MB / 0.7969 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004025/0.5135, allocations: 3.026 MB / 0.7999 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.5146, allocations: 0.7051 MB / 0.8006 GB, free: 172 kB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003122/0.5178, allocations: 1.97 MB / 0.8025 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008516/0.5186, allocations: 0.7134 MB / 0.8032 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.5187, allocations: 98.78 kB / 0.8033 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.5216, allocations: 1.682 MB / 0.8049 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003068/0.5219, allocations: 394.1 kB / 0.8053 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.5222, allocations: 395.5 kB / 0.8057 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002582/0.5248, allocations: 2.453 MB / 0.8081 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5248, allocations: 2.094 kB / 0.8081 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5248, allocations: 0 / 0.8081 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.5248, allocations: 0 / 0.8081 GB, free: 12.53 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.002232/0.5271, allocations: 1.577 MB / 0.8096 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.5271, allocations: 10.56 kB / 0.8096 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.5272, allocations: 118.3 kB / 0.8098 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.5287, allocations: 0.5377 MB / 0.8103 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.5301, allocations: 0.9691 MB / 0.8112 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/0.5301, allocations: 58.23 kB / 0.8113 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/0.5302, allocations: 69.67 kB / 0.8114 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.5316, allocations: 1.243 MB / 0.8126 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.5316, allocations: 0 / 0.8126 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.722e-05/0.5317, allocations: 31.47 kB / 0.8126 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/0.5317, allocations: 33.08 kB / 0.8126 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.5334, allocations: 1.2 MB / 0.8138 GB, free: 8.77 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.003212/0.5366, allocations: 2.88 MB / 0.8166 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.5377, allocations: 0.6768 MB / 0.8173 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/0.5381, allocations: 422.8 kB / 0.8177 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.5384, allocations: 132.4 kB / 0.8178 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006474/0.539, allocations: 0.6475 MB / 0.8184 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 1.844e-06/0.539, allocations: 0 / 0.8184 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.001676/0.5407, allocations: 1.291 MB / 0.8197 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.5408, allocations: 136.8 kB / 0.8198 GB, free: 4.676 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.5419, allocations: 1.181 MB / 0.821 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/0.5419, allocations: 42.89 kB / 0.821 GB, free: 3.988 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.5422, allocations: 442.8 kB / 0.8214 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.5423, allocations: 200.8 kB / 0.8216 GB, free: 3.434 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.5424, allocations: 142.6 kB / 0.8218 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.5425, allocations: 331.2 kB / 0.8221 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006647/0.5432, allocations: 476 kB / 0.8225 GB, free: 2.727 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008894/0.5441, allocations: 0.9784 MB / 0.8235 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.5453, allocations: 0.933 MB / 0.8244 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5453, allocations: 4 kB / 0.8244 GB, free: 0.6211 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001783/0.547, allocations: 1.242 MB / 0.8256 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.235e-05/0.5471, allocations: 45.69 kB / 0.8257 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.5471, allocations: 0 / 0.8257 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.5471, allocations: 8 kB / 0.8257 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.5476, allocations: 187.9 kB / 0.8259 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.5476, allocations: 4 kB / 0.8259 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007875/0.5484, allocations: 239.2 kB / 0.8261 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.5484, allocations: 35.98 kB / 0.8261 GB, free: 14.84 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.000364/0.5488, allocations: 340.2 kB / 0.8264 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.5489, allocations: 123.2 kB / 0.8266 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.5502, allocations: 1.034 MB / 0.8276 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.5502, allocations: 7.938 kB / 0.8276 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.5502, allocations: 8.812 kB / 0.8276 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.5502, allocations: 3.984 kB / 0.8276 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/0.5533, allocations: 3.001 MB / 0.8305 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.5533, allocations: 11.94 kB / 0.8305 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.5536, allocations: 124 kB / 0.8307 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-06/0.5536, allocations: 8 kB / 0.8307 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.5537, allocations: 28.55 kB / 0.8307 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.769e-06/0.5537, allocations: 11.98 kB / 0.8307 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/0.5537, allocations: 11.94 kB / 0.8307 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.5551, allocations: 1.373 MB / 0.8321 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/0.5554, allocations: 265.9 kB / 0.8323 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/0.5555, allocations: 23.98 kB / 0.8323 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/0.556, allocations: 99.91 kB / 0.8324 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.5561, allocations: 63.73 kB / 0.8325 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/0.5562, allocations: 43.91 kB / 0.8325 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008744/0.5571, allocations: 0.8443 MB / 0.8334 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5571, allocations: 0 / 0.8334 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008015/0.5579, allocations: 291.7 kB / 0.8336 GB, free: 6.844 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.002112/0.56, allocations: 2.161 MB / 0.8357 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.5614, allocations: 1.039 MB / 0.8368 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5614, allocations: 0 / 0.8368 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005479/0.5619, allocations: 0.5102 MB / 0.8373 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.5635, allocations: 0.5651 MB / 0.8378 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.5738, allocations: 9.603 MB / 0.8472 GB, free: 8.414 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.5742, allocations: 486.6 kB / 0.8476 GB, free: 7.902 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007384/0.5749, allocations: 275.4 kB / 0.8479 GB, free: 7.633 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/0.5753, allocations: 356.4 kB / 0.8482 GB, free: 7.285 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/0.5753, allocations: 0 / 0.8482 GB, free: 7.285 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04365/0.6189, allocations: 34.51 MB / 0.8819 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.312/7.931, allocations: 2.031 kB / 0.882 GB, free: 5.391 MB / 0.7292 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.818147545680404] Failed to read output from testmodel.py, exit status != 0: 8.030627540312707 8.038501837 7.511832193 Calling exit ...