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.006591/0.006591, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 286.5 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8989/0.8989, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 87.86 kB / 0.681 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4033, allocations: 86.98 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002317/0.4057, allocations: 1.385 MB / 0.7672 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003445/0.4091, allocations: 2.907 MB / 0.7701 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.4092, allocations: 0 / 0.7701 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.239e-05/0.4093, allocations: 7.938 kB / 0.7701 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.4094, allocations: 47.8 kB / 0.7701 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005762/0.41, allocations: 186 kB / 0.7703 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.4103, allocations: 243.5 kB / 0.7705 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.4103, allocations: 4 kB / 0.7706 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.4104, allocations: 91.84 kB / 0.7706 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.4106, allocations: 123.7 kB / 0.7708 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.4106, allocations: 12 kB / 0.7708 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.411, allocations: 135.8 kB / 0.7709 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.696e-05/0.4111, allocations: 91.75 kB / 0.771 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.4112, allocations: 91.62 kB / 0.7711 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.4116, allocations: 271.2 kB / 0.7713 GB, free: 14.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4116, allocations: 7.938 kB / 0.7713 GB, free: 14.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4116, allocations: 0 / 0.7713 GB, free: 14.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.4117, allocations: 0 / 0.7713 GB, free: 14.26 MB / 0.545 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.0007634/0.4124, allocations: 0.5262 MB / 0.7719 GB, free: 13.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.4125, allocations: 12.03 kB / 0.7719 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.08e-05/0.4125, allocations: 50.73 kB / 0.7719 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.4126, allocations: 20.69 kB / 0.7719 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.4129, allocations: 240 kB / 0.7722 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.4129, allocations: 24.36 kB / 0.7722 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.413, allocations: 16.38 kB / 0.7722 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/0.4136, allocations: 302 kB / 0.7725 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4136, allocations: 4 kB / 0.7725 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.4136, allocations: 7.938 kB / 0.7725 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4136, allocations: 4 kB / 0.7725 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.415, allocations: 0.7452 MB / 0.7732 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.4153, allocations: 309.3 kB / 0.7735 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.4168, allocations: 0.668 MB / 0.7742 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004572/0.4173, allocations: 229.3 kB / 0.7744 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004023/0.4177, allocations: 400 kB / 0.7748 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.4178, allocations: 42.55 kB / 0.7748 GB, free: 10.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/0.4178, allocations: 0 / 0.7748 GB, free: 10.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001512/0.4193, allocations: 0.6422 MB / 0.7754 GB, free: 9.797 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.4194, allocations: 59.16 kB / 0.7755 GB, free: 9.727 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/0.4195, allocations: 132.1 kB / 0.7756 GB, free: 9.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.4195, allocations: 29.7 kB / 0.7757 GB, free: 9.555 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.4196, allocations: 92.8 kB / 0.7757 GB, free: 9.461 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.4197, allocations: 126.2 kB / 0.7759 GB, free: 9.336 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.53e-05/0.4198, allocations: 61.69 kB / 0.7759 GB, free: 9.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4199, allocations: 330.8 kB / 0.7762 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.4203, allocations: 195.8 kB / 0.7764 GB, free: 8.746 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.4208, allocations: 195.9 kB / 0.7766 GB, free: 8.555 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007918/0.4216, allocations: 368.2 kB / 0.777 GB, free: 8.191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4216, allocations: 0 / 0.777 GB, free: 8.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009681/0.4226, allocations: 461.2 kB / 0.7774 GB, free: 7.734 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4226, allocations: 8 kB / 0.7774 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.4226, allocations: 4 kB / 0.7774 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4226, allocations: 0 / 0.7774 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.423, allocations: 99.84 kB / 0.7775 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.423, allocations: 4 kB / 0.7775 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.4231, allocations: 43.75 kB / 0.7776 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.4232, allocations: 19.92 kB / 0.7776 GB, free: 7.559 MB / 0.545 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.0001259/0.4233, allocations: 152.1 kB / 0.7777 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.4234, allocations: 19.75 kB / 0.7777 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.4245, allocations: 0.5171 MB / 0.7782 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.4245, allocations: 7.938 kB / 0.7783 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4245, allocations: 0 / 0.7783 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4245, allocations: 0 / 0.7783 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.4248, allocations: 305.3 kB / 0.7785 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.4248, allocations: 11.91 kB / 0.7786 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.4252, allocations: 99.86 kB / 0.7787 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.4252, allocations: 4 kB / 0.7787 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.4252, allocations: 11.98 kB / 0.7787 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4252, allocations: 0 / 0.7787 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4252, allocations: 0 / 0.7787 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.4262, allocations: 0.4965 MB / 0.7792 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.4263, allocations: 100.7 kB / 0.7792 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.4263, allocations: 4 kB / 0.7793 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.4265, allocations: 43.95 kB / 0.7793 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/0.4267, allocations: 119.8 kB / 0.7794 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.4268, allocations: 11.98 kB / 0.7794 GB, free: 5.574 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.341e-05/0.4268, allocations: 103.3 kB / 0.7795 GB, free: 5.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4268, allocations: 0 / 0.7795 GB, free: 5.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003778/0.4272, allocations: 115.9 kB / 0.7796 GB, free: 5.359 MB / 0.545 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.001535/0.4288, allocations: 1.118 MB / 0.7807 GB, free: 4.215 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.4298, allocations: 479.4 kB / 0.7812 GB, free: 3.746 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4298, allocations: 3.938 kB / 0.7812 GB, free: 3.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.4303, allocations: 259.7 kB / 0.7814 GB, free: 3.488 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.4307, allocations: 75.92 kB / 0.7815 GB, free: 3.414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.4346, allocations: 2.681 MB / 0.7841 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.435, allocations: 0.7366 MB / 0.7848 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003878/0.4353, allocations: 184.2 kB / 0.785 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.4355, allocations: 63.41 kB / 0.7851 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.4355, allocations: 4 kB / 0.7851 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.4605, allocations: 7.439 MB / 0.7923 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.362/7.822, allocations: 7.797 kB / 0.7923 GB, free: 8.426 MB / 0.5606 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)