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.715/2.715, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001358/0.001358, allocations: 185.8 kB / 371 MB, free: 10.85 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.127/2.127, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0008856/0.0008854, allocations: 88.3 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005082/0.0005087, allocations: 10.44 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.232, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002795/0.2349, allocations: 1.925 MB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8826/1.118, allocations: 138.1 MB / 1.115 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/1.118, allocations: 3 kB / 1.115 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002048/1.118, allocations: 33.36 kB / 1.115 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004297/1.119, allocations: 84.19 kB / 1.115 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/1.12, allocations: 242 kB / 1.116 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007144/1.121, allocations: 372.1 kB / 1.116 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/1.121, allocations: 78.72 kB / 1.116 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000716/1.122, allocations: 205.2 kB / 1.116 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/1.122, allocations: 158.5 kB / 1.116 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.047e-05/1.122, allocations: 12.38 kB / 1.116 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/1.123, allocations: 252.9 kB / 1.117 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/1.124, allocations: 54.23 kB / 1.117 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002433/1.124, allocations: 84.23 kB / 1.117 GB, free: 17.35 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/1.125, allocations: 332.9 kB / 1.117 GB, free: 17.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/1.125, allocations: 0 / 1.117 GB, free: 17.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.945e-06/1.125, allocations: 5.859 kB / 1.117 GB, free: 17.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.363e-05/1.125, allocations: 1.219 kB / 1.117 GB, free: 17.32 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.002426/1.128, allocations: 0.6656 MB / 1.118 GB, free: 16.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/1.128, allocations: 12.86 kB / 1.118 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/1.128, allocations: 63.95 kB / 1.118 GB, free: 16.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00533/1.133, allocations: 252.7 kB / 1.118 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008048/1.134, allocations: 292.9 kB / 1.118 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/1.134, allocations: 21.81 kB / 1.118 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/1.134, allocations: 26.75 kB / 1.118 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/1.137, allocations: 431.9 kB / 1.119 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/1.137, allocations: 4.766 kB / 1.119 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.062e-05/1.137, allocations: 9.156 kB / 1.119 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/1.137, allocations: 11.22 kB / 1.119 GB, free: 16.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00455/1.142, allocations: 0.5287 MB / 1.119 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005464/1.147, allocations: 1.142 MB / 1.12 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004289/1.152, allocations: 468.2 kB / 1.121 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/1.154, allocations: 238 kB / 1.121 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.525e-05/1.154, allocations: 3.375 kB / 1.121 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/1.154, allocations: 36.69 kB / 1.121 GB, free: 16.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 3.977e-06/1.154, allocations: 0 / 1.121 GB, free: 16.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.03263/1.187, allocations: 1.713 MB / 1.123 GB, free: 15.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/1.187, allocations: 58.27 kB / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/1.187, allocations: 309.3 kB / 1.123 GB, free: 15.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/1.187, allocations: 31.61 kB / 1.123 GB, free: 15.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/1.188, allocations: 174.1 kB / 1.123 GB, free: 15.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/1.188, allocations: 90.02 kB / 1.123 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/1.188, allocations: 3.312 kB / 1.123 GB, free: 15.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.188, allocations: 340.8 kB / 1.124 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/1.19, allocations: 205.3 kB / 1.124 GB, free: 14.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/1.192, allocations: 267.8 kB / 1.124 GB, free: 14.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/1.194, allocations: 209.6 kB / 1.124 GB, free: 14.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.194, allocations: 0 / 1.124 GB, free: 14.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.01419/1.208, allocations: 0.8922 MB / 1.125 GB, free: 14.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/1.208, allocations: 6.406 kB / 1.125 GB, free: 14.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.208, allocations: 4 kB / 1.125 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003659/1.212, allocations: 277.2 kB / 1.126 GB, free: 14.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008953/1.213, allocations: 70.56 kB / 1.126 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02657/1.24, allocations: 3.771 MB / 1.129 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/1.241, allocations: 75.84 kB / 1.129 GB, free: 12.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.242, allocations: 22.55 kB / 1.129 GB, free: 12.08 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.0003172/1.242, allocations: 141.7 kB / 1.13 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/1.242, allocations: 34.98 kB / 1.13 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/1.257, allocations: 0.9342 MB / 1.13 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/1.257, allocations: 3.375 kB / 1.13 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.257, allocations: 0 / 1.13 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/1.257, allocations: 4.297 kB / 1.13 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009773/1.258, allocations: 424.1 kB / 1.131 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.258, allocations: 0 / 1.131 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000742/1.258, allocations: 66.44 kB / 1.131 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003676/1.262, allocations: 279.3 kB / 1.131 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/1.262, allocations: 19.36 kB / 1.131 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02653/1.289, allocations: 3.761 MB / 1.135 GB, free: 8.965 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.289, allocations: 3.125 kB / 1.135 GB, free: 8.965 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/1.303, allocations: 0.9576 MB / 1.136 GB, free: 8.699 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/1.303, allocations: 120.8 kB / 1.136 GB, free: 8.574 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/1.304, allocations: 4.375 kB / 1.136 GB, free: 8.574 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.305, allocations: 46.05 kB / 1.136 GB, free: 8.559 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.305, allocations: 21.16 kB / 1.136 GB, free: 8.551 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.926e-05/1.305, allocations: 14.47 kB / 1.136 GB, free: 8.543 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003597/1.306, allocations: 224.8 kB / 1.136 GB, free: 8.441 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.306, allocations: 4 kB / 1.136 GB, free: 8.438 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008859/1.307, allocations: 113.9 kB / 1.136 GB, free: 8.43 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.01539/1.322, allocations: 1.511 MB / 1.138 GB, free: 7.469 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005197/1.327, allocations: 0.7299 MB / 1.139 GB, free: 7.102 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.327, allocations: 1.438 kB / 1.139 GB, free: 7.102 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002927/1.33, allocations: 0.4997 MB / 1.139 GB, free: 6.793 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/1.331, allocations: 94.23 kB / 1.139 GB, free: 6.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/1.354, allocations: 2.616 MB / 1.142 GB, free: 5.605 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/1.355, allocations: 0.7689 MB / 1.142 GB, free: 4.871 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009131/1.356, allocations: 82.08 kB / 1.142 GB, free: 4.816 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/1.356, allocations: 101.9 kB / 1.143 GB, free: 4.797 MB / 0.698 GB Notification: Performance of SimCode: time 1.363e-06/1.356, allocations: 0 / 1.143 GB, free: 4.797 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05968/1.416, allocations: 15.7 MB / 1.158 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003486/1.416, allocations: 210 kB / 1.158 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/4.736, allocations: 0 / 1.158 GB, free: 12.62 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)