Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.005138/0.005138, allocations: 97.12 kB / 15.73 MB, free: 6.004 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.0011/0.0011, allocations: 199.8 kB / 16.68 MB, free: 5.934 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003146/0.003146, allocations: 285.6 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.9446/0.9446, allocations: 169.2 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 92.23 kB / 0.6809 GB, free: 7.508 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4167, allocations: 86.99 MB / 0.7659 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002934/0.4197, allocations: 1.814 MB / 0.7676 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003304/0.4201, allocations: 125.3 kB / 0.7678 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.4202, allocations: 0 / 0.7678 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.4203, allocations: 15.8 kB / 0.7678 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.4204, allocations: 47.56 kB / 0.7678 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.4206, allocations: 43.94 kB / 0.7679 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.4208, allocations: 179 kB / 0.768 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.4209, allocations: 21.11 kB / 0.768 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.076e-05/0.421, allocations: 55.84 kB / 0.7681 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.4212, allocations: 75.67 kB / 0.7682 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.4212, allocations: 12 kB / 0.7682 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.45e-05/0.4212, allocations: 12 kB / 0.7682 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.4213, allocations: 19.92 kB / 0.7682 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.421e-05/0.4213, allocations: 67.66 kB / 0.7683 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.4215, allocations: 127.5 kB / 0.7684 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4215, allocations: 0 / 0.7684 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4215, allocations: 0 / 0.7684 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.4215, allocations: 0 / 0.7684 GB, free: 1.391 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007536/0.4223, allocations: 450.8 kB / 0.7688 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.4223, allocations: 12.03 kB / 0.7688 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.4224, allocations: 38.73 kB / 0.7689 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.4224, allocations: 16.75 kB / 0.7689 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.4227, allocations: 208 kB / 0.7691 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.4227, allocations: 4.375 kB / 0.7691 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.4227, allocations: 12.38 kB / 0.7691 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.423, allocations: 123.8 kB / 0.7692 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.423, allocations: 3.938 kB / 0.7692 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.4231, allocations: 4 kB / 0.7692 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4231, allocations: 0 / 0.7692 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.4234, allocations: 91.92 kB / 0.7693 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.4241, allocations: 472.8 kB / 0.7698 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.4245, allocations: 133 kB / 0.7699 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.4247, allocations: 61.78 kB / 0.77 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.4248, allocations: 3.984 kB / 0.77 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.4248, allocations: 34.56 kB / 0.77 GB, free: 15.56 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.4248, allocations: 0 / 0.77 GB, free: 15.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0005965/0.4254, allocations: 185.4 kB / 0.7702 GB, free: 15.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.4254, allocations: 77.11 kB / 0.7702 GB, free: 15.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.4256, allocations: 168.1 kB / 0.7704 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.4256, allocations: 29.7 kB / 0.7704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.4257, allocations: 108 kB / 0.7705 GB, free: 14.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.4257, allocations: 27.56 kB / 0.7706 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.4258, allocations: 33.7 kB / 0.7706 GB, free: 14.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4259, allocations: 326.8 kB / 0.7709 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.4261, allocations: 43.97 kB / 0.771 GB, free: 14.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.4262, allocations: 57.62 kB / 0.771 GB, free: 14.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.4265, allocations: 101.7 kB / 0.7711 GB, free: 14.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4265, allocations: 0 / 0.7711 GB, free: 14.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003679/0.4269, allocations: 145.8 kB / 0.7712 GB, free: 14.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4269, allocations: 8 kB / 0.7712 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4269, allocations: 3.938 kB / 0.7713 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.427, allocations: 0 / 0.7713 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.4271, allocations: 31.92 kB / 0.7713 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.4271, allocations: 4 kB / 0.7713 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.4273, allocations: 19.77 kB / 0.7713 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.4273, allocations: 4 kB / 0.7713 GB, free: 14.13 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 8.536e-05/0.4274, allocations: 117.8 kB / 0.7714 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.4274, allocations: 11.91 kB / 0.7714 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.4279, allocations: 166.7 kB / 0.7716 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4279, allocations: 0 / 0.7716 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4279, allocations: 0 / 0.7716 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.4279, allocations: 3.938 kB / 0.7716 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.4282, allocations: 221.5 kB / 0.7718 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4282, allocations: 0 / 0.7718 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.4284, allocations: 19.98 kB / 0.7718 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4284, allocations: 0 / 0.7718 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.4284, allocations: 7.984 kB / 0.7718 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4284, allocations: 4 kB / 0.7718 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4285, allocations: 0 / 0.7718 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.4289, allocations: 310.6 kB / 0.7721 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.429, allocations: 92.86 kB / 0.7722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.429, allocations: 0 / 0.7722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.4292, allocations: 15.98 kB / 0.7722 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.4292, allocations: 15.86 kB / 0.7723 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.4292, allocations: 4 kB / 0.7723 GB, free: 13.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001121/0.4294, allocations: 130 kB / 0.7724 GB, free: 12.94 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4294, allocations: 288 / 0.7724 GB, free: 12.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002982/0.4297, allocations: 32 kB / 0.7724 GB, free: 12.91 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0007134/0.4304, allocations: 0.8443 MB / 0.7732 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.4308, allocations: 99.88 kB / 0.7733 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4308, allocations: 8 kB / 0.7733 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.4309, allocations: 56.2 kB / 0.7734 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.4314, allocations: 44.78 kB / 0.7734 GB, free: 11.83 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.4336, allocations: 1.816 MB / 0.7752 GB, free: 9.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.4339, allocations: 0.7083 MB / 0.7759 GB, free: 9.195 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.408e-05/0.434, allocations: 12.64 kB / 0.7759 GB, free: 9.184 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.4341, allocations: 35.53 kB / 0.7759 GB, free: 9.148 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.4341, allocations: 3.938 kB / 0.776 GB, free: 9.145 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3986/0.8327, allocations: 3.71 MB / 0.7796 GB, free: 5.629 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/8.64, allocations: 19.28 kB / 0.7796 GB, free: 5.617 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)