Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 199.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 283 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9107/0.9107, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 97.58 kB / 0.5953 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1485, allocations: 86.97 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002506/0.1511, allocations: 1.391 MB / 0.6816 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003302/0.1544, allocations: 2.9 MB / 0.6845 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.1545, allocations: 0 / 0.6845 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.669e-05/0.1546, allocations: 11.92 kB / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.1547, allocations: 39.81 kB / 0.6845 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.1553, allocations: 187.4 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.1555, allocations: 243.5 kB / 0.6849 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.1555, allocations: 7.938 kB / 0.6849 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.086e-05/0.1556, allocations: 87.91 kB / 0.685 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1558, allocations: 131.7 kB / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.1558, allocations: 8 kB / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.1562, allocations: 143.9 kB / 0.6853 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.284e-05/0.1563, allocations: 83.81 kB / 0.6854 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.1564, allocations: 95.56 kB / 0.6855 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.1567, allocations: 263.3 kB / 0.6857 GB, free: 11.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1567, allocations: 0 / 0.6857 GB, free: 11.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1567, allocations: 0 / 0.6857 GB, free: 11.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1568, allocations: 0 / 0.6857 GB, free: 11.03 MB / 494.1 MB 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.000765/0.1575, allocations: 0.5414 MB / 0.6862 GB, free: 10.44 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1576, allocations: 8.031 kB / 0.6862 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.1576, allocations: 58.67 kB / 0.6863 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.1577, allocations: 16.75 kB / 0.6863 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.158, allocations: 238.6 kB / 0.6865 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.158, allocations: 20.36 kB / 0.6866 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.1581, allocations: 24.31 kB / 0.6866 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/0.1587, allocations: 286 kB / 0.6869 GB, free: 9.754 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1587, allocations: 3.984 kB / 0.6869 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.1587, allocations: 4 kB / 0.6869 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1587, allocations: 4 kB / 0.6869 GB, free: 9.742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.1602, allocations: 0.7527 MB / 0.6876 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.1605, allocations: 301.3 kB / 0.6879 GB, free: 8.645 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.1621, allocations: 0.6841 MB / 0.6886 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004965/0.1626, allocations: 232.7 kB / 0.6888 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003848/0.163, allocations: 388.3 kB / 0.6892 GB, free: 7.266 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.1631, allocations: 43.48 kB / 0.6892 GB, free: 7.215 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.433e-06/0.1631, allocations: 0 / 0.6892 GB, free: 7.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001577/0.1647, allocations: 0.645 MB / 0.6898 GB, free: 6.562 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.1647, allocations: 55.41 kB / 0.6899 GB, free: 6.496 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.1648, allocations: 126.1 kB / 0.69 GB, free: 6.363 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.1648, allocations: 37.7 kB / 0.69 GB, free: 6.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.1649, allocations: 84.8 kB / 0.6901 GB, free: 6.234 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.177e-05/0.165, allocations: 130.1 kB / 0.6902 GB, free: 6.105 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.781e-05/0.1651, allocations: 65.69 kB / 0.6903 GB, free: 6.035 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.1652, allocations: 342.7 kB / 0.6906 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.1656, allocations: 187.8 kB / 0.6908 GB, free: 5.508 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.1661, allocations: 200.8 kB / 0.691 GB, free: 5.312 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008756/0.167, allocations: 368.7 kB / 0.6913 GB, free: 4.949 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.167, allocations: 0 / 0.6913 GB, free: 4.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001037/0.168, allocations: 468.6 kB / 0.6918 GB, free: 4.484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1681, allocations: 4 kB / 0.6918 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1681, allocations: 0 / 0.6918 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1681, allocations: 0 / 0.6918 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.1684, allocations: 99.84 kB / 0.6919 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1684, allocations: 0 / 0.6919 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.1686, allocations: 43.81 kB / 0.6919 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.1687, allocations: 19.98 kB / 0.692 GB, free: 4.32 MB / 494.1 MB 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.0001104/0.1688, allocations: 139.1 kB / 0.6921 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.1688, allocations: 23.75 kB / 0.6921 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.17, allocations: 0.5191 MB / 0.6926 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.17, allocations: 4 kB / 0.6926 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.17, allocations: 3.938 kB / 0.6926 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.17, allocations: 0 / 0.6926 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.1703, allocations: 317.2 kB / 0.6929 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1703, allocations: 3.938 kB / 0.6929 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.1706, allocations: 95.84 kB / 0.693 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1706, allocations: 4 kB / 0.693 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.1706, allocations: 15.98 kB / 0.693 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1706, allocations: 0 / 0.693 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1707, allocations: 0 / 0.693 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.1717, allocations: 0.4967 MB / 0.6935 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.1718, allocations: 96.8 kB / 0.6936 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.1718, allocations: 8 kB / 0.6936 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.172, allocations: 39.89 kB / 0.6937 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.1722, allocations: 111.8 kB / 0.6938 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.1722, allocations: 19.98 kB / 0.6938 GB, free: 2.344 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.071e-05/0.1723, allocations: 95.27 kB / 0.6939 GB, free: 2.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1723, allocations: 0 / 0.6939 GB, free: 2.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000339/0.1726, allocations: 119.9 kB / 0.694 GB, free: 2.133 MB / 494.1 MB 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.001482/0.1741, allocations: 1.127 MB / 0.6951 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.1753, allocations: 0.5543 MB / 0.6956 GB, free: 432 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.1753, allocations: 8 kB / 0.6956 GB, free: 424 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.1758, allocations: 259.4 kB / 0.6959 GB, free: 164 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1762, allocations: 79.92 kB / 0.696 GB, free: 84 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/0.18, allocations: 2.652 MB / 0.6986 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.1802, allocations: 0.7289 MB / 0.6993 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003885/0.1806, allocations: 180.2 kB / 0.6994 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.1807, allocations: 67.39 kB / 0.6995 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of SimCode: time 1.432e-06/0.1807, allocations: 4.188 kB / 0.6995 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4835/0.6642, allocations: 7.387 MB / 0.7067 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.947, allocations: 7.469 kB / 0.7067 GB, free: 5.172 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)