Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",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.001133/0.001133, allocations: 175 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.0258/0.0258, allocations: 4.535 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.674/1.674, allocations: 221.3 MB / 240.8 MB, free: 8.781 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.0008406/0.000841, allocations: 96.5 kB / 292.8 MB, free: 7.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.197e-05, allocations: 3.984 kB / 352.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2985, allocations: 51.47 MB / 403.8 MB, free: 28.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1031/0.4017, allocations: 77.28 MB / 481 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001572/0.4019, allocations: 48.86 kB / 481.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006692/0.4086, allocations: 2.161 MB / 483.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4087, allocations: 0 / 483.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.4087, allocations: 4 kB / 483.2 MB, free: 12.97 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000691/0.4094, allocations: 455.8 kB / 483.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4095, allocations: 8.031 kB / 483.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.158e-05/0.4096, allocations: 50.45 kB / 483.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.4096, allocations: 15.81 kB / 483.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.4099, allocations: 211.2 kB / 484 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.4099, allocations: 8 kB / 484 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.4099, allocations: 8 kB / 484 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.4102, allocations: 166.9 kB / 484.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4103, allocations: 4 kB / 484.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.4103, allocations: 4 kB / 484.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.4103, allocations: 4 kB / 484.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.4105, allocations: 79.89 kB / 484.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009812/0.4115, allocations: 0.7744 MB / 485 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.4118, allocations: 222.1 kB / 485.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.4119, allocations: 68.44 kB / 485.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.4119, allocations: 0 / 485.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.4121, allocations: 135.6 kB / 485.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.4121, allocations: 0 / 485.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002831/0.4124, allocations: 129.4 kB / 485.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.4125, allocations: 166.2 kB / 485.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.4127, allocations: 147.7 kB / 485.9 MB, free: 10 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.4127, allocations: 29.7 kB / 485.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.4128, allocations: 119.8 kB / 486 MB, free: 9.848 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.4128, allocations: 35.48 kB / 486 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/0.4128, allocations: 0 / 486 MB, free: 9.812 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.413, allocations: 326.8 kB / 486.4 MB, free: 9.484 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.4131, allocations: 31.98 kB / 486.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.4132, allocations: 70.44 kB / 486.5 MB, free: 9.371 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.4133, allocations: 81.59 kB / 486.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4133, allocations: 0 / 486.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002619/0.4136, allocations: 171 kB / 486.7 MB, free: 9.105 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.4136, allocations: 33.7 kB / 486.7 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4136, allocations: 4.094 kB / 486.7 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4136, allocations: 4 kB / 486.7 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.4138, allocations: 31.97 kB / 486.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.4138, allocations: 4 kB / 486.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.414, allocations: 35.81 kB / 486.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.414, allocations: 11.94 kB / 486.8 MB, free: 8.977 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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 8.374e-05/0.4141, allocations: 112.9 kB / 486.9 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.4142, allocations: 11.91 kB / 486.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.4144, allocations: 78.59 kB / 487 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4144, allocations: 4.125 kB / 487 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.4144, allocations: 7.938 kB / 487 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.4144, allocations: 3.984 kB / 487 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.4148, allocations: 441.6 kB / 487.5 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4148, allocations: 7.938 kB / 487.5 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.4149, allocations: 31.97 kB / 487.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4149, allocations: 0 / 487.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.415, allocations: 8 kB / 487.5 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.415, allocations: 3.984 kB / 487.5 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.415, allocations: 11.97 kB / 487.5 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.4153, allocations: 356 kB / 487.9 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.4154, allocations: 92.91 kB / 488 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.4154, allocations: 11.95 kB / 488 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.4156, allocations: 19.98 kB / 488 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.4157, allocations: 19.97 kB / 488 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.4157, allocations: 11.98 kB / 488 MB, free: 7.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.962e-05/0.4158, allocations: 128.9 kB / 488.2 MB, free: 7.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4158, allocations: 0 / 488.2 MB, free: 7.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.4161, allocations: 20 kB / 488.2 MB, free: 7.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (11): * Single equations (assignments): 9 * 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.0008706/0.417, allocations: 1.234 MB / 489.4 MB, free: 6.191 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.4173, allocations: 143.4 kB / 489.6 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4173, allocations: 8.188 kB / 489.6 MB, free: 6.031 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.4174, allocations: 59.91 kB / 489.6 MB, free: 5.973 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.4177, allocations: 23.88 kB / 489.6 MB, free: 5.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008033/0.4185, allocations: 274.6 kB / 489.9 MB, free: 5.637 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.419, allocations: 0.724 MB / 490.6 MB, free: 4.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.204e-05/0.4191, allocations: 12.55 kB / 490.6 MB, free: 4.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.4192, allocations: 39.42 kB / 490.7 MB, free: 4.836 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4192, allocations: 8 kB / 490.7 MB, free: 4.828 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.4349, allocations: 2.586 MB / 493.3 MB, free: 2.355 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/0.4352, allocations: 149.4 kB / 493.4 MB, free: 2.125 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/1.912, allocations: 0 / 493.4 MB, free: 2.125 MB / 362.7 MB (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial.fmu > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1)