Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Design.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/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings 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(FastBuildings.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",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.005262/0.005262, allocations: 103.2 kB / 15.73 MB, free: 6.055 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.001038/0.001038, allocations: 195.9 kB / 16.67 MB, free: 5.973 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02094/0.02094, allocations: 4.659 MB / 295.2 MB, free: 10.21 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 59.89 kB / 407.8 MB, free: 27.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08123/0.08241, allocations: 50.49 MB / 458.3 MB, free: 8.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Design): time 0.003202/0.08564, allocations: 2.213 MB / 460.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003444/0.08601, allocations: 167.5 kB / 460.7 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.74e-05/0.08611, allocations: 4 kB / 460.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.08625, allocations: 23.72 kB / 460.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.608e-05/0.08635, allocations: 43.62 kB / 460.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.08653, allocations: 55.83 kB / 460.8 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.08676, allocations: 215.7 kB / 461 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.08707, allocations: 140.1 kB / 461.1 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.599e-05/0.08714, allocations: 71.78 kB / 461.2 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.08726, allocations: 67.7 kB / 461.3 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.0873, allocations: 20 kB / 461.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.815e-05/0.08733, allocations: 24 kB / 461.3 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.08739, allocations: 43.91 kB / 461.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.411e-05/0.08748, allocations: 95.55 kB / 461.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.0877, allocations: 207.1 kB / 461.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.08771, allocations: 0 / 461.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.08772, allocations: 0 / 461.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.08774, allocations: 0 / 461.7 MB, free: 5.609 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005885/0.08833, allocations: 451 kB / 462.1 MB, free: 5.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.08837, allocations: 16.03 kB / 462.1 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.08842, allocations: 46.73 kB / 462.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.08846, allocations: 16.75 kB / 462.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.08866, allocations: 212.1 kB / 462.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.08869, allocations: 12.38 kB / 462.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.08872, allocations: 16.38 kB / 462.4 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.08899, allocations: 181 kB / 462.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.08901, allocations: 7.922 kB / 462.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.08903, allocations: 8 kB / 462.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.08905, allocations: 4 kB / 462.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.08923, allocations: 100.8 kB / 462.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008287/0.09006, allocations: 0.7557 MB / 463.5 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.09018, allocations: 58.5 kB / 463.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.09024, allocations: 40.91 kB / 463.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.09026, allocations: 0 / 463.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.0903, allocations: 34.56 kB / 463.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.0903, allocations: 0 / 463.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002317/0.09054, allocations: 97.59 kB / 463.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.09059, allocations: 59.34 kB / 463.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.09076, allocations: 182 kB / 463.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.09078, allocations: 25.7 kB / 463.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.09086, allocations: 135.5 kB / 464.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.09089, allocations: 23.7 kB / 464.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.09095, allocations: 25.72 kB / 464.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.09107, allocations: 322.8 kB / 464.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.514e-05/0.09113, allocations: 27.98 kB / 464.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.746e-05/0.09121, allocations: 85.67 kB / 464.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.09136, allocations: 114.8 kB / 464.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.09137, allocations: 256 / 464.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002017/0.09158, allocations: 141.4 kB / 464.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.0916, allocations: 16.14 kB / 464.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.09161, allocations: 8 kB / 464.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.09163, allocations: 0 / 464.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.09177, allocations: 24 kB / 464.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.09178, allocations: 3.984 kB / 464.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.182e-05/0.09185, allocations: 19.78 kB / 464.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.09186, allocations: 8 kB / 464.9 MB, free: 2.074 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.505e-05/0.09196, allocations: 133.7 kB / 465 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.092, allocations: 15.81 kB / 465 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.09204, allocations: 16.7 kB / 465 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.09205, allocations: 4 kB / 465.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.09205, allocations: 0 / 465.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.09206, allocations: 3.938 kB / 465.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.09228, allocations: 229.6 kB / 465.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.09229, allocations: 0 / 465.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.587e-05/0.09239, allocations: 16 kB / 465.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.0924, allocations: 0 / 465.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.09241, allocations: 0 / 465.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.09241, allocations: 0 / 465.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.09242, allocations: 0 / 465.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.09263, allocations: 215.3 kB / 465.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.09268, allocations: 89.05 kB / 465.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.0927, allocations: 0 / 465.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.553e-05/0.09277, allocations: 0 / 465.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.0928, allocations: 15.91 kB / 465.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.09281, allocations: 3.938 kB / 465.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.263e-05/0.0929, allocations: 123.2 kB / 465.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09291, allocations: 4.062 kB / 465.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.09316, allocations: 35.84 kB / 465.8 MB, free: 1.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (bui.zon.capZon.heaPor.T) * 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 (6): * Single equations (assignments): 6 * 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.000427/0.0936, allocations: 0.7366 MB / 466.5 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.09376, allocations: 76.48 kB / 466.6 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.09377, allocations: 4.062 kB / 466.6 MB, free: 256 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.751e-05/0.09381, allocations: 31.88 kB / 466.6 MB, free: 224 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.0941, allocations: 30.33 kB / 466.6 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.0958, allocations: 1.839 MB / 468.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.09607, allocations: 0.72 MB / 469.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.142e-05/0.09613, allocations: 12.64 kB / 469.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.09621, allocations: 39.42 kB / 469.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09621, allocations: 0 / 469.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.1138, allocations: 2.786 MB / 472 MB, free: 10.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.124, allocations: 4.062 kB / 472 MB, free: 10.73 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Design.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Design_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Design.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe 2>&1)