Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.464/1.464, allocations: 288.4 MB / 303.6 MB, free: 8.141 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.0008956/0.0008957, allocations: 186.5 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0007774/0.0007774, allocations: 94.28 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003686, allocations: 14.94 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1906, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002097/0.1927, allocations: 1.933 MB / 0.9821 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5236/0.7164, allocations: 138.1 MB / 1.117 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.7166, allocations: 10.69 kB / 1.117 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.7168, allocations: 27.36 kB / 1.117 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.7172, allocations: 86.3 kB / 1.117 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007565/0.7179, allocations: 234.8 kB / 1.117 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.7183, allocations: 377.7 kB / 1.118 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.7185, allocations: 105.5 kB / 1.118 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009222/0.7194, allocations: 210.3 kB / 1.118 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.7196, allocations: 156 kB / 1.118 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.7197, allocations: 10.88 kB / 1.118 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004729/0.7201, allocations: 256.4 kB / 1.118 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.7202, allocations: 51.36 kB / 1.118 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.7204, allocations: 158.2 kB / 1.119 GB, free: 18.06 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.7208, allocations: 336.7 kB / 1.119 GB, free: 18.03 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7208, allocations: 0 / 1.119 GB, free: 18.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.013e-06/0.7209, allocations: 4 kB / 1.119 GB, free: 18.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.7209, allocations: 0 / 1.119 GB, free: 18.02 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.001197/0.7221, allocations: 0.6605 MB / 1.12 GB, free: 17.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.7221, allocations: 11.66 kB / 1.12 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.771e-05/0.7222, allocations: 63.95 kB / 1.12 GB, free: 17.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/0.7248, allocations: 260.8 kB / 1.12 GB, free: 17.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.7251, allocations: 289.5 kB / 1.12 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.7251, allocations: 17.47 kB / 1.12 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.7252, allocations: 31.81 kB / 1.12 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.7265, allocations: 432.1 kB / 1.121 GB, free: 17.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.7266, allocations: 0 / 1.121 GB, free: 17.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.7266, allocations: 12.59 kB / 1.121 GB, free: 17.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.7266, allocations: 9.281 kB / 1.121 GB, free: 17.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.7287, allocations: 0.5334 MB / 1.121 GB, free: 17.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0027/0.7314, allocations: 1.143 MB / 1.122 GB, free: 16.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.7335, allocations: 464.2 kB / 1.123 GB, free: 16.76 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009795/0.7345, allocations: 234 kB / 1.123 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.7345, allocations: 13.91 kB / 1.123 GB, free: 16.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.7346, allocations: 32.56 kB / 1.123 GB, free: 16.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.7346, allocations: 0 / 1.123 GB, free: 16.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.01521/0.7498, allocations: 1.715 MB / 1.125 GB, free: 16.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.7499, allocations: 54.03 kB / 1.125 GB, free: 16.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.7502, allocations: 303.2 kB / 1.125 GB, free: 16.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.7503, allocations: 32.94 kB / 1.125 GB, free: 16.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.7504, allocations: 172.8 kB / 1.125 GB, free: 16.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/0.7505, allocations: 86.59 kB / 1.125 GB, free: 15.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.7505, allocations: 4.562 kB / 1.125 GB, free: 15.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.7506, allocations: 344.2 kB / 1.126 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009728/0.7516, allocations: 204.2 kB / 1.126 GB, free: 15.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.7526, allocations: 265.6 kB / 1.126 GB, free: 15.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.7546, allocations: 450.6 kB / 1.126 GB, free: 15.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7546, allocations: 0 / 1.126 GB, free: 15.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006918/0.7615, allocations: 0.8931 MB / 1.127 GB, free: 15.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.7616, allocations: 9.891 kB / 1.127 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7616, allocations: 0 / 1.127 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/0.7634, allocations: 280.2 kB / 1.128 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.7639, allocations: 72.7 kB / 1.128 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.7767, allocations: 3.765 MB / 1.131 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009122/0.7777, allocations: 78.86 kB / 1.131 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.7778, allocations: 26.83 kB / 1.131 GB, free: 12.74 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.0002099/0.778, allocations: 139 kB / 1.132 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.7781, allocations: 31.94 kB / 1.132 GB, free: 12.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006836/0.7849, allocations: 0.9463 MB / 1.133 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.7849, allocations: 6.125 kB / 1.133 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.7849, allocations: 3.938 kB / 1.133 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.785, allocations: 3.984 kB / 1.133 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/0.7855, allocations: 412.9 kB / 1.133 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.7855, allocations: 0 / 1.133 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.7859, allocations: 57.7 kB / 1.133 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.7876, allocations: 277.4 kB / 1.133 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.848e-05/0.7877, allocations: 19.16 kB / 1.133 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/0.8009, allocations: 3.764 MB / 1.137 GB, free: 8.973 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.801, allocations: 3.938 kB / 1.137 GB, free: 8.969 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006985/0.808, allocations: 0.9521 MB / 1.138 GB, free: 8.551 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.8082, allocations: 116 kB / 1.138 GB, free: 8.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/0.8083, allocations: 5.406 kB / 1.138 GB, free: 8.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007474/0.809, allocations: 44.8 kB / 1.138 GB, free: 8.414 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.8091, allocations: 27.75 kB / 1.138 GB, free: 8.398 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.8092, allocations: 16.39 kB / 1.138 GB, free: 8.391 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000241/0.8094, allocations: 223.6 kB / 1.138 GB, free: 8.285 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8094, allocations: 0 / 1.138 GB, free: 8.285 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006329/0.8101, allocations: 113 kB / 1.138 GB, free: 8.281 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.007006/0.8171, allocations: 1.51 MB / 1.14 GB, free: 7.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00268/0.8198, allocations: 0.7277 MB / 1.141 GB, free: 6.953 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.8198, allocations: 8.062 kB / 1.141 GB, free: 6.945 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/0.8213, allocations: 0.5033 MB / 1.141 GB, free: 6.637 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/0.822, allocations: 98.45 kB / 1.141 GB, free: 6.609 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.8337, allocations: 2.62 MB / 1.144 GB, free: 5.441 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.8342, allocations: 0.7651 MB / 1.144 GB, free: 4.707 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005766/0.8348, allocations: 82.33 kB / 1.145 GB, free: 4.652 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.835, allocations: 100.9 kB / 1.145 GB, free: 4.633 MB / 0.698 GB Notification: Performance of SimCode: time 9.01e-07/0.835, allocations: 0 / 1.145 GB, free: 4.633 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.253/2.088, allocations: 15.76 MB / 1.16 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/2.088, allocations: 204.9 kB / 1.16 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/4.433, allocations: 4 kB / 1.16 GB, free: 12.48 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)