Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.863/2.863, allocations: 287.3 MB / 302.3 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001659/0.001659, allocations: 186 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.247/2.247, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 98 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005164/0.0005166, allocations: 11.42 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2341, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002673/0.2369, allocations: 1.866 MB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9034/1.14, allocations: 128.3 MB / 1.105 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/1.141, allocations: 2.25 kB / 1.105 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001872/1.141, allocations: 24.53 kB / 1.105 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.000502/1.141, allocations: 115.5 kB / 1.106 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/1.143, allocations: 247.4 kB / 1.106 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0008084/1.144, allocations: 261.2 kB / 1.106 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/1.144, allocations: 78.58 kB / 1.106 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005395/1.144, allocations: 180.9 kB / 1.106 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003747/1.145, allocations: 156.7 kB / 1.106 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/1.145, allocations: 11.94 kB / 1.106 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/1.146, allocations: 269.5 kB / 1.107 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/1.146, allocations: 55.5 kB / 1.107 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002241/1.146, allocations: 76.27 kB / 1.107 GB, free: 17.55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000966/1.147, allocations: 332.1 kB / 1.107 GB, free: 17.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.147, allocations: 2.688 kB / 1.107 GB, free: 17.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.056e-06/1.147, allocations: 1.453 kB / 1.107 GB, free: 17.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.875e-06/1.147, allocations: 0 / 1.107 GB, free: 17.52 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002282/1.15, allocations: 0.6696 MB / 1.108 GB, free: 17.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.15, allocations: 13.92 kB / 1.108 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/1.15, allocations: 59.69 kB / 1.108 GB, free: 17 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005483/1.155, allocations: 256.5 kB / 1.108 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007554/1.156, allocations: 288.4 kB / 1.108 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/1.156, allocations: 18.56 kB / 1.108 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-05/1.156, allocations: 27.16 kB / 1.108 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/1.159, allocations: 432.4 kB / 1.109 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/1.159, allocations: 3.953 kB / 1.109 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/1.159, allocations: 12.67 kB / 1.109 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/1.159, allocations: 6.281 kB / 1.109 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004829/1.164, allocations: 0.5314 MB / 1.109 GB, free: 16.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006004/1.17, allocations: 1.146 MB / 1.111 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004713/1.175, allocations: 476.8 kB / 1.111 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/1.175, allocations: 3.312 kB / 1.111 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/1.175, allocations: 36.31 kB / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 3.486e-06/1.175, allocations: 1.062 kB / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.03415/1.21, allocations: 1.717 MB / 1.113 GB, free: 15.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/1.21, allocations: 57.45 kB / 1.113 GB, free: 15.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/1.21, allocations: 311 kB / 1.113 GB, free: 15.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/1.21, allocations: 34.27 kB / 1.113 GB, free: 15.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/1.211, allocations: 167 kB / 1.113 GB, free: 15.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/1.211, allocations: 89.36 kB / 1.113 GB, free: 15.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/1.211, allocations: 2.75 kB / 1.113 GB, free: 15.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.211, allocations: 347.2 kB / 1.114 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002191/1.213, allocations: 204.9 kB / 1.114 GB, free: 15.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/1.215, allocations: 266.3 kB / 1.114 GB, free: 15.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/1.218, allocations: 206.6 kB / 1.114 GB, free: 15.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.218, allocations: 2.703 kB / 1.114 GB, free: 15.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.01478/1.233, allocations: 0.8904 MB / 1.115 GB, free: 14.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/1.233, allocations: 12.8 kB / 1.115 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.233, allocations: 0.875 kB / 1.115 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003815/1.236, allocations: 275.2 kB / 1.115 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009508/1.237, allocations: 73 kB / 1.116 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02903/1.267, allocations: 3.863 MB / 1.119 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.268, allocations: 79.27 kB / 1.119 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.151e-05/1.268, allocations: 20.86 kB / 1.119 GB, free: 12.28 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003153/1.269, allocations: 140.4 kB / 1.12 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/1.269, allocations: 39.3 kB / 1.12 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/1.284, allocations: 0.9394 MB / 1.12 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/1.284, allocations: 2.281 kB / 1.12 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.284, allocations: 0 / 1.12 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/1.284, allocations: 6.203 kB / 1.12 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/1.285, allocations: 422.2 kB / 1.121 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/1.285, allocations: 0.5 kB / 1.121 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007352/1.286, allocations: 58.83 kB / 1.121 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003713/1.289, allocations: 280.8 kB / 1.121 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002175/1.29, allocations: 14.25 kB / 1.121 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04448/1.334, allocations: 3.867 MB / 1.125 GB, free: 9.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.334, allocations: 0 / 1.125 GB, free: 9.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02229/1.356, allocations: 0.9618 MB / 1.126 GB, free: 8.941 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/1.357, allocations: 122.8 kB / 1.126 GB, free: 8.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/1.357, allocations: 6.281 kB / 1.126 GB, free: 8.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002297/1.359, allocations: 46 kB / 1.126 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/1.36, allocations: 19.28 kB / 1.126 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/1.36, allocations: 15.89 kB / 1.126 GB, free: 8.816 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005516/1.36, allocations: 224 kB / 1.126 GB, free: 8.738 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.81e-07/1.36, allocations: 0 / 1.126 GB, free: 8.738 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001439/1.362, allocations: 114 kB / 1.126 GB, free: 8.73 MB / 0.698 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02226/1.384, allocations: 1.506 MB / 1.128 GB, free: 7.848 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007887/1.392, allocations: 0.7257 MB / 1.129 GB, free: 7.484 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.392, allocations: 1.969 kB / 1.129 GB, free: 7.484 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004548/1.397, allocations: 0.5068 MB / 1.129 GB, free: 7.168 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/1.399, allocations: 93.84 kB / 1.129 GB, free: 7.141 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03108/1.43, allocations: 2.909 MB / 1.132 GB, free: 5.676 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/1.43, allocations: 0.7743 MB / 1.133 GB, free: 4.938 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001012/1.431, allocations: 82.92 kB / 1.133 GB, free: 4.887 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/1.432, allocations: 102 kB / 1.133 GB, free: 4.863 MB / 0.698 GB Notification: Performance of SimCode: time 1.392e-06/1.432, allocations: 1.188 kB / 1.133 GB, free: 4.863 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05926/1.491, allocations: 15.66 MB / 1.148 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000354/1.491, allocations: 210.6 kB / 1.148 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.178/4.669, allocations: 0 / 1.148 GB, free: 12.7 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_8.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)