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.000759/0.000759, 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.0008184/0.0008184, 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.8969/0.8969, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7244/0.7244, allocations: 154.6 MB / 413.8 MB, free: 0.7734 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.462e-06/1.462e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.543e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4648/0.4648, allocations: 171.7 MB / 0.7858 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.009922/0.4747, allocations: 6.61 MB / 0.7922 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.4767, allocations: 64.81 kB / 0.7923 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.4789, allocations: 0.6927 MB / 0.793 GB, free: 4.199 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005647/0.4845, allocations: 2.477 MB / 0.7954 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.4879, allocations: 1.597 MB / 0.797 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004402/0.4923, allocations: 3.007 MB / 0.7999 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.4937, allocations: 0.7189 MB / 0.8006 GB, free: 288 kB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004418/0.4981, allocations: 1.968 MB / 0.8025 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.4996, allocations: 0.7116 MB / 0.8032 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.4999, allocations: 99.28 kB / 0.8033 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003031/0.5029, allocations: 1.675 MB / 0.8049 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004459/0.5034, allocations: 392.2 kB / 0.8053 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005961/0.5039, allocations: 397.7 kB / 0.8057 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004075/0.508, allocations: 2.451 MB / 0.8081 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.508, allocations: 0 / 0.8081 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.244e-06/0.508, allocations: 0 / 0.8081 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.783e-05/0.5081, allocations: 0 / 0.8081 GB, free: 12.54 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.00283/0.5109, allocations: 1.588 MB / 0.8096 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.511, allocations: 11.97 kB / 0.8097 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.5111, allocations: 114.3 kB / 0.8098 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.5127, allocations: 0.5335 MB / 0.8103 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.5143, allocations: 0.9672 MB / 0.8112 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/0.5144, allocations: 56.72 kB / 0.8113 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.127e-05/0.5144, allocations: 73.84 kB / 0.8114 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.5161, allocations: 1.238 MB / 0.8126 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.5161, allocations: 11.38 kB / 0.8126 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-05/0.5161, allocations: 25.78 kB / 0.8126 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.5162, allocations: 38.33 kB / 0.8126 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.5179, allocations: 1.19 MB / 0.8138 GB, free: 8.777 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.004264/0.5222, allocations: 2.88 MB / 0.8166 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.5238, allocations: 0.6745 MB / 0.8173 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/0.5243, allocations: 433.5 kB / 0.8177 GB, free: 6.066 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003293/0.5247, allocations: 128.3 kB / 0.8178 GB, free: 6.023 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000731/0.5254, allocations: 0.6478 MB / 0.8184 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 3.476e-06/0.5254, allocations: 0 / 0.8184 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.002015/0.5274, allocations: 1.287 MB / 0.8197 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.5275, allocations: 141.1 kB / 0.8198 GB, free: 4.684 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.5288, allocations: 1.195 MB / 0.821 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.609e-05/0.5289, allocations: 38.73 kB / 0.821 GB, free: 3.988 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.5292, allocations: 439.5 kB / 0.8215 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.5293, allocations: 198.1 kB / 0.8216 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.5295, allocations: 142.4 kB / 0.8218 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.5296, allocations: 337.5 kB / 0.8221 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009047/0.5305, allocations: 469.7 kB / 0.8225 GB, free: 2.715 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008526/0.5313, allocations: 0.9802 MB / 0.8235 GB, free: 1.598 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.5324, allocations: 0.933 MB / 0.8244 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5324, allocations: 4 kB / 0.8244 GB, free: 0.6094 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001856/0.5343, allocations: 1.246 MB / 0.8256 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.5344, allocations: 37.69 kB / 0.8257 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5344, allocations: 4 kB / 0.8257 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.5344, allocations: 8.281 kB / 0.8257 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.5349, allocations: 187.7 kB / 0.8259 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5349, allocations: 4 kB / 0.8259 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000885/0.5358, allocations: 243.2 kB / 0.8261 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/0.5358, allocations: 39.97 kB / 0.8261 GB, free: 14.82 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.0004735/0.5363, allocations: 332 kB / 0.8265 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.5366, allocations: 119.2 kB / 0.8266 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.5379, allocations: 1.037 MB / 0.8276 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.5379, allocations: 8.875 kB / 0.8276 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.538, allocations: 3.938 kB / 0.8276 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.538, allocations: 7.984 kB / 0.8276 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/0.5413, allocations: 3 MB / 0.8305 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.5414, allocations: 12.12 kB / 0.8305 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.5416, allocations: 119.8 kB / 0.8307 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.5417, allocations: 12.55 kB / 0.8307 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.5417, allocations: 24 kB / 0.8307 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.5417, allocations: 19.92 kB / 0.8307 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.5417, allocations: 15.94 kB / 0.8307 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.5431, allocations: 1.376 MB / 0.8321 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.5436, allocations: 258.9 kB / 0.8323 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.5437, allocations: 23.98 kB / 0.8323 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/0.5442, allocations: 103.9 kB / 0.8324 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.5443, allocations: 63.73 kB / 0.8325 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.872e-05/0.5443, allocations: 35.97 kB / 0.8325 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009302/0.5453, allocations: 0.8482 MB / 0.8334 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5453, allocations: 4 kB / 0.8334 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009107/0.5462, allocations: 295.7 kB / 0.8336 GB, free: 6.824 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.002218/0.5484, allocations: 2.146 MB / 0.8357 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.5502, allocations: 1.043 MB / 0.8368 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.5502, allocations: 7.938 kB / 0.8368 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005609/0.5508, allocations: 0.5061 MB / 0.8373 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.5527, allocations: 0.5585 MB / 0.8378 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.5646, allocations: 9.607 MB / 0.8472 GB, free: 8.398 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.565, allocations: 482.6 kB / 0.8476 GB, free: 7.891 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008387/0.5658, allocations: 275.7 kB / 0.8479 GB, free: 7.621 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/0.5662, allocations: 356.4 kB / 0.8482 GB, free: 7.273 MB / 0.698 GB Notification: Performance of SimCode: time 2.264e-06/0.5662, allocations: 4 kB / 0.8483 GB, free: 7.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0468/0.613, allocations: 34.51 MB / 0.882 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/7.955, allocations: 7.766 kB / 0.882 GB, free: 5.379 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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.72728381305933] Failed to read output from testmodel.py, exit status != 0: 8.051307308487594 8.060883163 7.550660388 Calling exit ...