Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 105.8 kB / 17.54 MB, free: 4.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 190.6 kB / 20.71 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 225.6 MB / 249.3 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 0.9988/0.9988, allocations: 175.7 MB / 480.1 MB, free: 2.793 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 63.16 kB / 0.6677 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1697, allocations: 94.53 MB / 0.7601 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002327/0.172, allocations: 1.379 MB / 0.7614 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00363/0.1757, allocations: 2.962 MB / 0.7643 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.1757, allocations: 0 / 0.7643 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.447e-05/0.1758, allocations: 11.92 kB / 0.7643 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.1759, allocations: 35.81 kB / 0.7643 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.1764, allocations: 191.4 kB / 0.7645 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.1767, allocations: 243.5 kB / 0.7648 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.1768, allocations: 4 kB / 0.7648 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1769, allocations: 95.77 kB / 0.7649 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.177, allocations: 123.7 kB / 0.765 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.177, allocations: 12 kB / 0.765 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003865/0.1774, allocations: 147.8 kB / 0.7651 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1775, allocations: 91.75 kB / 0.7652 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.1777, allocations: 87.64 kB / 0.7653 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.178, allocations: 275 kB / 0.7656 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.178, allocations: 8 kB / 0.7656 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.178, allocations: 0 / 0.7656 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.1781, allocations: 0 / 0.7656 GB, free: 11.17 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008918/0.1789, allocations: 0.5257 MB / 0.7661 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.179, allocations: 16.03 kB / 0.7661 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.982e-05/0.1791, allocations: 50.73 kB / 0.7661 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.1792, allocations: 20.84 kB / 0.7662 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.1794, allocations: 240 kB / 0.7664 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.1795, allocations: 24.36 kB / 0.7664 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.1795, allocations: 16.38 kB / 0.7664 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006399/0.1802, allocations: 293 kB / 0.7667 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1802, allocations: 0 / 0.7667 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.1802, allocations: 12 kB / 0.7667 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1802, allocations: 4 kB / 0.7667 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.1817, allocations: 0.7452 MB / 0.7675 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.1821, allocations: 301.2 kB / 0.7677 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.1837, allocations: 0.6487 MB / 0.7684 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/0.1842, allocations: 208.7 kB / 0.7686 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004339/0.1847, allocations: 400.3 kB / 0.769 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1847, allocations: 30.56 kB / 0.769 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 1.333e-06/0.1847, allocations: 0 / 0.769 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.001679/0.1864, allocations: 0.6583 MB / 0.7696 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.1864, allocations: 55.41 kB / 0.7697 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1865, allocations: 126.1 kB / 0.7698 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.1865, allocations: 33.7 kB / 0.7698 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.1866, allocations: 88.78 kB / 0.7699 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.1867, allocations: 130.9 kB / 0.77 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.1868, allocations: 69.67 kB / 0.7701 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.187, allocations: 326.8 kB / 0.7704 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/0.1874, allocations: 195.8 kB / 0.7706 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.1879, allocations: 207.5 kB / 0.7708 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009091/0.1889, allocations: 354.2 kB / 0.7711 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1889, allocations: 3.984 kB / 0.7711 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001112/0.19, allocations: 472.6 kB / 0.7716 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.19, allocations: 9.969 kB / 0.7716 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.19, allocations: 4 kB / 0.7716 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.19, allocations: 4 kB / 0.7716 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.1904, allocations: 95.84 kB / 0.7717 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1904, allocations: 0 / 0.7717 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.1906, allocations: 55.8 kB / 0.7718 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.1906, allocations: 8 kB / 0.7718 GB, free: 4.504 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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.0001387/0.1908, allocations: 145.8 kB / 0.7719 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.1908, allocations: 19.84 kB / 0.7719 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.192, allocations: 0.5142 MB / 0.7724 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.192, allocations: 4 kB / 0.7724 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.192, allocations: 0 / 0.7724 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.192, allocations: 7.922 kB / 0.7724 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.1924, allocations: 313.3 kB / 0.7727 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1924, allocations: 7.938 kB / 0.7727 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.1927, allocations: 99.86 kB / 0.7728 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1927, allocations: 0 / 0.7728 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.1928, allocations: 11.98 kB / 0.7729 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1928, allocations: 0 / 0.7729 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1928, allocations: 0 / 0.7729 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.1939, allocations: 0.4923 MB / 0.7733 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.194, allocations: 96.89 kB / 0.7734 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.194, allocations: 8 kB / 0.7734 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.1942, allocations: 39.95 kB / 0.7735 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.1944, allocations: 115.8 kB / 0.7736 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.1944, allocations: 15.98 kB / 0.7736 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.19e-05/0.1945, allocations: 98.64 kB / 0.7737 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1945, allocations: 0 / 0.7737 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003834/0.1949, allocations: 119.7 kB / 0.7738 GB, free: 2.316 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001679/0.1966, allocations: 1.123 MB / 0.7749 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.1977, allocations: 459.2 kB / 0.7753 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1977, allocations: 0 / 0.7753 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000543/0.1982, allocations: 240.6 kB / 0.7756 GB, free: 492 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.1986, allocations: 91.86 kB / 0.7757 GB, free: 400 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/0.203, allocations: 2.68 MB / 0.7783 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.2033, allocations: 0.7328 MB / 0.779 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003884/0.2037, allocations: 181.5 kB / 0.7792 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.2039, allocations: 67.39 kB / 0.7792 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of SimCode: time 8.31e-07/0.2039, allocations: 0 / 0.7792 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.2355, allocations: 7.496 MB / 0.7865 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/7.745, allocations: 0 / 0.7865 GB, free: 5.27 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.246801853994839]