Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.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.0007906/0.0007906, 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.0008385/0.0008385, allocations: 165.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.9024/0.9024, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7055/0.7055, allocations: 154.6 MB / 413.7 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.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.323e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01278/0.0128, allocations: 13.42 MB / 0.6312 GB, free: 240 kB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004645/0.01744, allocations: 3.401 MB / 0.6345 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006047/0.01805, allocations: 23.81 kB / 0.6345 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006331/0.01868, allocations: 198.6 kB / 0.6347 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.02013, allocations: 0.6448 MB / 0.6353 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008463/0.02097, allocations: 416.9 kB / 0.6357 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001362/0.02234, allocations: 1.109 MB / 0.6368 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004756/0.02281, allocations: 260.9 kB / 0.6371 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.02415, allocations: 0.558 MB / 0.6376 GB, free: 9.625 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004386/0.02458, allocations: 271.1 kB / 0.6379 GB, free: 9.359 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.02464, allocations: 36 kB / 0.6379 GB, free: 9.324 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004813/0.02512, allocations: 227.4 kB / 0.6381 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.02523, allocations: 103.6 kB / 0.6382 GB, free: 9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.02538, allocations: 151.6 kB / 0.6384 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008838/0.02626, allocations: 0.6192 MB / 0.639 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.02627, allocations: 0 / 0.639 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.903e-06/0.02627, allocations: 0 / 0.639 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.02628, allocations: 0 / 0.639 GB, free: 8.23 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001045/0.02733, allocations: 0.6738 MB / 0.6396 GB, free: 7.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.02737, allocations: 12.03 kB / 0.6396 GB, free: 7.508 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.02743, allocations: 58.73 kB / 0.6397 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.0276, allocations: 56.64 kB / 0.6398 GB, free: 7.387 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/0.02827, allocations: 400 kB / 0.6401 GB, free: 6.973 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.02829, allocations: 20.88 kB / 0.6402 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.02833, allocations: 28.38 kB / 0.6402 GB, free: 6.926 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.02883, allocations: 420.1 kB / 0.6406 GB, free: 6.473 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.02885, allocations: 11.98 kB / 0.6406 GB, free: 6.461 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.02887, allocations: 4 kB / 0.6406 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.02889, allocations: 12 kB / 0.6406 GB, free: 6.445 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.02921, allocations: 193.8 kB / 0.6408 GB, free: 6.254 MB / 0.6042 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.001395/0.0306, allocations: 1.146 MB / 0.6419 GB, free: 5.043 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.03095, allocations: 146.6 kB / 0.6421 GB, free: 4.891 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.03113, allocations: 68.81 kB / 0.6421 GB, free: 4.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.03127, allocations: 7.984 kB / 0.6421 GB, free: 4.812 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.03154, allocations: 226.1 kB / 0.6423 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 3.126e-06/0.03155, allocations: 0 / 0.6423 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0004503/0.032, allocations: 239.9 kB / 0.6426 GB, free: 4.312 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.03204, allocations: 59.41 kB / 0.6426 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.0323, allocations: 357.6 kB / 0.643 GB, free: 3.895 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.03232, allocations: 25.7 kB / 0.643 GB, free: 3.863 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.03245, allocations: 224.1 kB / 0.6432 GB, free: 3.641 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.03249, allocations: 51.58 kB / 0.6433 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.03256, allocations: 57.66 kB / 0.6433 GB, free: 3.527 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.03265, allocations: 342.8 kB / 0.6436 GB, free: 3.184 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.03278, allocations: 105.6 kB / 0.6437 GB, free: 3.074 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.03306, allocations: 179.5 kB / 0.6439 GB, free: 2.859 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.03331, allocations: 245.2 kB / 0.6441 GB, free: 2.582 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.03331, allocations: 4 kB / 0.6442 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003901/0.0337, allocations: 341.4 kB / 0.6445 GB, free: 2.227 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.03374, allocations: 33.69 kB / 0.6445 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.03375, allocations: 4 kB / 0.6445 GB, free: 2.184 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.03377, allocations: 8.312 kB / 0.6445 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.0339, allocations: 51.91 kB / 0.6446 GB, free: 2.125 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.03391, allocations: 4 kB / 0.6446 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.03406, allocations: 43.7 kB / 0.6446 GB, free: 2.078 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.03408, allocations: 12 kB / 0.6446 GB, free: 2.066 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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.0001384/0.03422, allocations: 158.8 kB / 0.6448 GB, free: 1.902 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.03426, allocations: 35.77 kB / 0.6448 GB, free: 1.867 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.03461, allocations: 196.4 kB / 0.645 GB, free: 1.668 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.03462, allocations: 3.938 kB / 0.645 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-06/0.03462, allocations: 0 / 0.645 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003251/0.03495, allocations: 495.6 kB / 0.6455 GB, free: 1.094 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.03527, allocations: 284.6 kB / 0.6457 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.03527, allocations: 0 / 0.6457 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.89e-05/0.03536, allocations: 35.97 kB / 0.6458 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.03537, allocations: 0 / 0.6458 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.03538, allocations: 4 kB / 0.6458 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.03538, allocations: 4 kB / 0.6458 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.03538, allocations: 0 / 0.6458 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.03576, allocations: 299.1 kB / 0.6461 GB, free: 432 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-05/0.03584, allocations: 47.77 kB / 0.6461 GB, free: 384 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.03587, allocations: 4 kB / 0.6461 GB, free: 380 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.03598, allocations: 15.98 kB / 0.6461 GB, free: 364 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.03603, allocations: 19.97 kB / 0.6462 GB, free: 344 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.03605, allocations: 11.92 kB / 0.6462 GB, free: 332 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001718/0.03622, allocations: 247.2 kB / 0.6464 GB, free: 84 kB / 0.6042 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03622, allocations: 0 / 0.6464 GB, free: 84 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003591/0.03658, allocations: 131.7 kB / 0.6465 GB, free: 15.95 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001136/0.03772, allocations: 0.9048 MB / 0.6474 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003263/0.03804, allocations: 245.1 kB / 0.6476 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.03805, allocations: 4 kB / 0.6477 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.571e-05/0.03814, allocations: 66.84 kB / 0.6477 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.03875, allocations: 213.8 kB / 0.6479 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.0419, allocations: 3.103 MB / 0.651 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.04203, allocations: 181.8 kB / 0.6511 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002439/0.04227, allocations: 67.17 kB / 0.6512 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.04241, allocations: 120.5 kB / 0.6513 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of SimCode: time 1.162e-06/0.04242, allocations: 0 / 0.6513 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.07335, allocations: 11.67 MB / 0.6627 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.225/7.298, allocations: 2.844 kB / 0.6627 GB, free: 15.52 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.003007686696947] Failed to read output from testmodel.py, exit status != 0: 7.38435997068882 7.395304874 7.36649869 Calling exit ...