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.006124/0.006124, allocations: 100.9 kB / 15.73 MB, free: 5.562 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.001297/0.001297, allocations: 195.2 kB / 16.67 MB, free: 5.504 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002116/0.002116, allocations: 288.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9602/0.9602, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 91.86 kB / 0.6809 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4228, allocations: 86.98 MB / 0.7659 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003099/0.426, allocations: 1.822 MB / 0.7676 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003222/0.4263, allocations: 121.4 kB / 0.7678 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.4264, allocations: 0 / 0.7678 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.4265, allocations: 15.8 kB / 0.7678 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.4267, allocations: 51.56 kB / 0.7678 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.4268, allocations: 31.95 kB / 0.7679 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.427, allocations: 179.1 kB / 0.768 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.4272, allocations: 29.09 kB / 0.7681 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.332e-05/0.4273, allocations: 47.86 kB / 0.7681 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.4274, allocations: 71.69 kB / 0.7682 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.4274, allocations: 8 kB / 0.7682 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.729e-05/0.4275, allocations: 12 kB / 0.7682 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.132e-05/0.4275, allocations: 19.92 kB / 0.7682 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.714e-05/0.4276, allocations: 67.66 kB / 0.7683 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.4278, allocations: 127.5 kB / 0.7684 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4278, allocations: 0 / 0.7684 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4278, allocations: 0 / 0.7684 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.4278, allocations: 0 / 0.7684 GB, free: 1.406 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.0007951/0.4286, allocations: 462.8 kB / 0.7688 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.4287, allocations: 8.031 kB / 0.7688 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.4287, allocations: 42.75 kB / 0.7689 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.4287, allocations: 16.75 kB / 0.7689 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.429, allocations: 202.5 kB / 0.7691 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.429, allocations: 16.31 kB / 0.7691 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.4291, allocations: 4.375 kB / 0.7691 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.4293, allocations: 122.9 kB / 0.7692 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4294, allocations: 3.938 kB / 0.7692 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4294, allocations: 0 / 0.7692 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4294, allocations: 4 kB / 0.7692 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.4297, allocations: 103.9 kB / 0.7693 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/0.4304, allocations: 464.7 kB / 0.7698 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.4308, allocations: 141.2 kB / 0.7699 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.431, allocations: 57.78 kB / 0.77 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.431, allocations: 0 / 0.77 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.431, allocations: 34.56 kB / 0.77 GB, free: 15.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.431, allocations: 4 kB / 0.77 GB, free: 15.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0005432/0.4316, allocations: 181.4 kB / 0.7702 GB, free: 15.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.4316, allocations: 81.11 kB / 0.7703 GB, free: 15.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.4318, allocations: 172 kB / 0.7704 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.4318, allocations: 25.7 kB / 0.7704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.4319, allocations: 112 kB / 0.7706 GB, free: 14.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.4319, allocations: 27.56 kB / 0.7706 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.432, allocations: 25.7 kB / 0.7706 GB, free: 14.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4321, allocations: 326.8 kB / 0.7709 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.4322, allocations: 39.97 kB / 0.771 GB, free: 14.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.4324, allocations: 57.69 kB / 0.771 GB, free: 14.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.4327, allocations: 105.7 kB / 0.7711 GB, free: 14.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4327, allocations: 3.938 kB / 0.7711 GB, free: 14.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003342/0.433, allocations: 141.9 kB / 0.7712 GB, free: 14.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.433, allocations: 4 kB / 0.7713 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.433, allocations: 7.938 kB / 0.7713 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4331, allocations: 4 kB / 0.7713 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.4332, allocations: 23.92 kB / 0.7713 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.4332, allocations: 0 / 0.7713 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.4334, allocations: 27.77 kB / 0.7713 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4334, allocations: 4 kB / 0.7713 GB, free: 14.14 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 9.755e-05/0.4335, allocations: 113.8 kB / 0.7714 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.4335, allocations: 11.91 kB / 0.7714 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.434, allocations: 162.7 kB / 0.7716 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.434, allocations: 4 kB / 0.7716 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.434, allocations: 3.938 kB / 0.7716 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.434, allocations: 3.938 kB / 0.7716 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.4343, allocations: 221.6 kB / 0.7718 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4343, allocations: 0 / 0.7718 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.4344, allocations: 23.97 kB / 0.7718 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4344, allocations: 4 kB / 0.7718 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.4345, allocations: 4 kB / 0.7718 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.4345, allocations: 4 kB / 0.7718 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4345, allocations: 3.938 kB / 0.7719 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.4349, allocations: 306.6 kB / 0.7721 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.4349, allocations: 100.8 kB / 0.7722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.435, allocations: 4 kB / 0.7722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.4351, allocations: 4 kB / 0.7722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.4352, allocations: 15.92 kB / 0.7723 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.4352, allocations: 0 / 0.7723 GB, free: 13.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.538e-05/0.4353, allocations: 134 kB / 0.7724 GB, free: 12.94 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4353, allocations: 0 / 0.7724 GB, free: 12.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002863/0.4356, allocations: 24 kB / 0.7724 GB, free: 12.92 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.0006218/0.4362, allocations: 0.8443 MB / 0.7732 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003247/0.4366, allocations: 112 kB / 0.7733 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4366, allocations: 0 / 0.7733 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.4367, allocations: 55.91 kB / 0.7734 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.4372, allocations: 47.86 kB / 0.7734 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.4393, allocations: 1.814 MB / 0.7752 GB, free: 9.938 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.4395, allocations: 0.7122 MB / 0.7759 GB, free: 9.199 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.008e-05/0.4396, allocations: 12.64 kB / 0.7759 GB, free: 9.188 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.658e-05/0.4397, allocations: 39.42 kB / 0.776 GB, free: 9.148 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.4397, allocations: 0 / 0.776 GB, free: 9.148 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.4596, allocations: 3.709 MB / 0.7796 GB, free: 5.629 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.723, allocations: 13.64 kB / 0.7796 GB, free: 5.621 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)