Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.conf.json 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/FastBuildings master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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) Running command: "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.0363/0.0363, allocations: 4.536 MB / 17.8 MB, free: 2.512 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 221.4 MB / 240.8 MB, free: 8.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009696/0.0009694, allocations: 91.55 kB / 292.8 MB, free: 7.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.44e-05/3.46e-05, allocations: 0 / 352.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2902, allocations: 51.49 MB / 403.8 MB, free: 28.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1091/0.3993, allocations: 78.82 MB / 482.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001715/0.3995, allocations: 43.98 kB / 482.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01741/0.417, allocations: 5.767 MB / 488.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.417, allocations: 0 / 488.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.4171, allocations: 15.94 kB / 488.4 MB, free: 7.77 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001104/0.4182, allocations: 0.5675 MB / 489 MB, free: 7.152 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.4182, allocations: 8.031 kB / 489 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.4184, allocations: 62.53 kB / 489 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.4185, allocations: 32 kB / 489.1 MB, free: 7.043 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.4189, allocations: 271.3 kB / 489.3 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.4189, allocations: 20.56 kB / 489.4 MB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.419, allocations: 20 kB / 489.4 MB, free: 6.691 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/0.4195, allocations: 271.7 kB / 489.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.4195, allocations: 7.984 kB / 489.6 MB, free: 6.406 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/0.4196, allocations: 12 kB / 489.7 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4196, allocations: 7.938 kB / 489.7 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.42, allocations: 182.2 kB / 489.8 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.4217, allocations: 1.021 MB / 490.9 MB, free: 5.117 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.4223, allocations: 227.3 kB / 491.1 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.4225, allocations: 117.2 kB / 491.2 MB, free: 4.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.4225, allocations: 4.188 kB / 491.2 MB, free: 4.766 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002715/0.4228, allocations: 145.6 kB / 491.3 MB, free: 4.613 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.474e-06/0.4228, allocations: 0 / 491.3 MB, free: 4.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004687/0.4233, allocations: 221.4 kB / 491.6 MB, free: 4.395 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.4234, allocations: 63.39 kB / 491.6 MB, free: 4.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.4236, allocations: 188.9 kB / 491.8 MB, free: 4.129 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.4236, allocations: 29.7 kB / 491.8 MB, free: 4.094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.4238, allocations: 176.1 kB / 492 MB, free: 3.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.235e-05/0.4239, allocations: 71 kB / 492.1 MB, free: 3.848 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/0.4239, allocations: 4 kB / 492.1 MB, free: 3.844 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.424, allocations: 338.8 kB / 492.4 MB, free: 3.504 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.4242, allocations: 72 kB / 492.5 MB, free: 3.434 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.4244, allocations: 123.4 kB / 492.6 MB, free: 3.301 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.4246, allocations: 118.6 kB / 492.7 MB, free: 3.176 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.4246, allocations: 0 / 492.7 MB, free: 3.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005092/0.4251, allocations: 307.1 kB / 493 MB, free: 2.867 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.4252, allocations: 33.7 kB / 493.1 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4252, allocations: 0 / 493.1 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4252, allocations: 0 / 493.1 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.4256, allocations: 72.05 kB / 493.1 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4256, allocations: 3.938 kB / 493.1 MB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.4259, allocations: 47.72 kB / 493.2 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.4259, allocations: 19.92 kB / 493.2 MB, free: 2.688 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.powElePul.T_start,powElePul.T_start,$PRE.powElePul.count,powElePul.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.426, allocations: 124.9 kB / 493.3 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.4261, allocations: 23.81 kB / 493.3 MB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.4266, allocations: 243.4 kB / 493.6 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.4266, allocations: 8 kB / 493.6 MB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4266, allocations: 3.938 kB / 493.6 MB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.4266, allocations: 3.984 kB / 493.6 MB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.4271, allocations: 369.3 kB / 494 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4271, allocations: 0 / 494 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.4274, allocations: 71.89 kB / 494 MB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.4274, allocations: 0 / 494 MB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.4275, allocations: 7.984 kB / 494 MB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4275, allocations: 4 kB / 494 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4275, allocations: 0 / 494 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006496/0.4281, allocations: 359.9 kB / 494.4 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.4283, allocations: 112.8 kB / 494.5 MB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.4283, allocations: 4 kB / 494.5 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.4285, allocations: 31.97 kB / 494.5 MB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/0.4286, allocations: 19.97 kB / 494.6 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.4287, allocations: 4 kB / 494.6 MB, free: 1.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.4288, allocations: 157.4 kB / 494.7 MB, free: 1.078 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4288, allocations: 4 kB / 494.7 MB, free: 1.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003021/0.4291, allocations: 71.84 kB / 494.8 MB, free: 1.004 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009292/0.4301, allocations: 0.9127 MB / 495.7 MB, free: 60 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004482/0.4305, allocations: 255.2 kB / 495.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4306, allocations: 4.25 kB / 496 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.4307, allocations: 99.92 kB / 496 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.431, allocations: 32.36 kB / 496.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.4323, allocations: 0.5362 MB / 496.6 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.4327, allocations: 0.7714 MB / 497.4 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001572/0.4329, allocations: 29.53 kB / 497.4 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.433, allocations: 79.41 kB / 497.5 MB, free: 14.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4331, allocations: 3.938 kB / 497.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.452, allocations: 4.609 MB / 0.4903 GB, free: 9.711 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.4522, allocations: 151.3 kB / 0.4905 GB, free: 9.488 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.1, allocations: 0 / 0.4905 GB, free: 9.488 MB / 378.7 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)