Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",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.005653/0.005653, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.01879/0.01879, allocations: 4.636 MB / 20.49 MB, free: 1.473 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.515/1.515, allocations: 223.2 MB / 245.5 MB, free: 12.14 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.000934/0.0009342, allocations: 106.1 kB / 297.7 MB, free: 8.867 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 7.984 kB / 359.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4272, allocations: 51.48 MB / 411.3 MB, free: 50.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.5462, allocations: 77.28 MB / 488.6 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001348/0.5463, allocations: 43.98 kB / 488.6 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00731/0.5537, allocations: 2.121 MB / 490.7 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.5537, allocations: 0.5 kB / 490.7 MB, free: 15.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.5538, allocations: 6.125 kB / 490.7 MB, free: 15.66 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009665/0.5547, allocations: 462.3 kB / 491.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.5548, allocations: 12.03 kB / 491.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.772e-05/0.5549, allocations: 46.64 kB / 491.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.555, allocations: 16.45 kB / 491.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.5553, allocations: 203.3 kB / 491.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.5553, allocations: 9.062 kB / 491.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.5554, allocations: 11.98 kB / 491.5 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/0.556, allocations: 183.9 kB / 491.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.5561, allocations: 4.844 kB / 491.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.5561, allocations: 7.938 kB / 491.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.5561, allocations: 4 kB / 491.7 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006456/0.5568, allocations: 152.4 kB / 491.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.5581, allocations: 0.7483 MB / 492.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.5588, allocations: 193 kB / 492.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.5588, allocations: 0 / 492.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006045/0.5594, allocations: 179.4 kB / 492.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.174e-06/0.5595, allocations: 0 / 492.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001534/0.561, allocations: 269.8 kB / 493.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.5611, allocations: 154.2 kB / 493.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.5614, allocations: 159.6 kB / 493.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.5615, allocations: 25.7 kB / 493.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.5616, allocations: 124 kB / 493.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.5617, allocations: 23.66 kB / 493.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.5617, allocations: 0 / 493.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.5619, allocations: 330.9 kB / 494 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.5623, allocations: 67.94 kB / 494.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.5628, allocations: 106.1 kB / 494.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.5632, allocations: 105.6 kB / 494.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5632, allocations: 0 / 494.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001084/0.5643, allocations: 242.9 kB / 494.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.522e-05/0.5644, allocations: 41.69 kB / 494.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5645, allocations: 4.125 kB / 494.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.5645, allocations: 0 / 494.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.5648, allocations: 35.91 kB / 494.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.5649, allocations: 4 kB / 494.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.5652, allocations: 27.86 kB / 494.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.5653, allocations: 8 kB / 494.6 MB, free: 11.41 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0002099/0.5655, allocations: 133.8 kB / 494.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.5656, allocations: 15.77 kB / 494.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003534/0.5659, allocations: 94.58 kB / 494.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.566, allocations: 0 / 494.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.566, allocations: 4 kB / 494.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.566, allocations: 0 / 494.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.5665, allocations: 338.5 kB / 495.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.5665, allocations: 4 kB / 495.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.5668, allocations: 27.97 kB / 495.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/0.5668, allocations: 4 kB / 495.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.5669, allocations: 0 / 495.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.5669, allocations: 8.031 kB / 495.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.5669, allocations: 3.938 kB / 495.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/0.5679, allocations: 361.5 kB / 495.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.568, allocations: 88.92 kB / 495.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.5681, allocations: 4 kB / 495.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.5684, allocations: 23.97 kB / 495.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.5686, allocations: 27.92 kB / 495.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.5686, allocations: 4.094 kB / 495.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001689/0.5688, allocations: 123.9 kB / 495.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5688, allocations: 0 / 495.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005428/0.5694, allocations: 31.94 kB / 495.9 MB, free: 9.992 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002033/0.5714, allocations: 1.255 MB / 497.2 MB, free: 8.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009933/0.5724, allocations: 215.3 kB / 497.4 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5725, allocations: 0 / 497.4 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000501/0.573, allocations: 92.25 kB / 497.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.5734, allocations: 17.27 kB / 497.5 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.577, allocations: 1.598 MB / 499.1 MB, free: 6.688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.5774, allocations: 0.7199 MB / 499.8 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.5776, allocations: 20.69 kB / 499.8 MB, free: 5.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.5777, allocations: 39.42 kB / 499.8 MB, free: 5.887 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5778, allocations: 0 / 499.8 MB, free: 5.887 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.5998, allocations: 2.494 MB / 0.4906 GB, free: 3.543 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/0.6001, allocations: 160.9 kB / 0.4907 GB, free: 3.309 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.157, allocations: 0 / 0.4907 GB, free: 3.309 MB / 362.7 MB (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_ArtificialInput_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_ArtificialInput.fmu > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1)