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/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: translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009053/0.0009055, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008726/0.0008731, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1945/0.1945, allocations: 4.631 MB / 295.7 MB, free: 4.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003497, allocations: 8 kB / 357.7 MB, free: 2.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 51.49 MB / 409.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002379/0.141, allocations: 1.363 MB / 410.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1421, allocations: 443.2 kB / 411 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.1423, allocations: 3.938 kB / 411 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.1424, allocations: 7.922 kB / 411 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.739e-05/0.1425, allocations: 19.86 kB / 411 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.1428, allocations: 39.89 kB / 411.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.143, allocations: 99.62 kB / 411.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.1431, allocations: 41.41 kB / 411.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.1433, allocations: 39.84 kB / 411.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1434, allocations: 51.75 kB / 411.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.1435, allocations: 4 kB / 411.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.092e-05/0.1435, allocations: 7.938 kB / 411.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.1435, allocations: 15.92 kB / 411.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.1436, allocations: 37.64 kB / 411.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.1437, allocations: 72.09 kB / 411.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1438, allocations: 0 / 411.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1438, allocations: 0 / 411.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.1438, allocations: 4 kB / 411.4 MB, free: 12.71 MB / 350.1 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.0008746/0.1447, allocations: 448.6 kB / 411.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1447, allocations: 12.03 kB / 411.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/0.1448, allocations: 11.81 kB / 411.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.1451, allocations: 207.3 kB / 412.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.1451, allocations: 4 kB / 412.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.1451, allocations: 12 kB / 412.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.1456, allocations: 169.9 kB / 412.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1457, allocations: 3.938 kB / 412.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.1457, allocations: 7.938 kB / 412.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1457, allocations: 0 / 412.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.1461, allocations: 147.8 kB / 412.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009981/0.1471, allocations: 0.716 MB / 413.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.1475, allocations: 193 kB / 413.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.1477, allocations: 100.3 kB / 413.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.1478, allocations: 7.984 kB / 413.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003347/0.1481, allocations: 167.5 kB / 413.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.1481, allocations: 0 / 413.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007617/0.1489, allocations: 269.6 kB / 413.9 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.301e-05/0.149, allocations: 162.4 kB / 414 MB, free: 9.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1492, allocations: 166.2 kB / 414.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1492, allocations: 25.7 kB / 414.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/0.1493, allocations: 119.9 kB / 414.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.1494, allocations: 31.62 kB / 414.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.1494, allocations: 0 / 414.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1496, allocations: 326.8 kB / 414.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.1498, allocations: 71.94 kB / 414.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.1501, allocations: 108.2 kB / 414.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.1503, allocations: 101.6 kB / 415 MB, free: 8.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.1503, allocations: 4 kB / 415 MB, free: 8.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005285/0.1508, allocations: 235.1 kB / 415.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.1509, allocations: 37.64 kB / 415.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.1509, allocations: 4 kB / 415.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1509, allocations: 0 / 415.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.1512, allocations: 36.03 kB / 415.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1512, allocations: 3.938 kB / 415.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.1513, allocations: 31.89 kB / 415.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.1514, allocations: 4 kB / 415.3 MB, free: 8.457 MB / 350.1 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.000117/0.1515, allocations: 125.8 kB / 415.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.1515, allocations: 11.91 kB / 415.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.1518, allocations: 101.8 kB / 415.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.1518, allocations: 4 kB / 415.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1518, allocations: 4 kB / 415.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1518, allocations: 3.938 kB / 415.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.1521, allocations: 326.4 kB / 415.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.1522, allocations: 12.05 kB / 415.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.1523, allocations: 31.88 kB / 415.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.1523, allocations: 4 kB / 415.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.1523, allocations: 7.984 kB / 415.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1524, allocations: 4 kB / 415.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1524, allocations: 0 / 415.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.1529, allocations: 302.7 kB / 416.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.1531, allocations: 100.9 kB / 416.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.1531, allocations: 3.953 kB / 416.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.1533, allocations: 23.98 kB / 416.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.1534, allocations: 23.91 kB / 416.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.1534, allocations: 4 kB / 416.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.493e-05/0.1535, allocations: 124.1 kB / 416.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1535, allocations: 0 / 416.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.1538, allocations: 24 kB / 416.5 MB, free: 7.109 MB / 350.1 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 9.959e-05/0.1539, allocations: 95.19 kB / 416.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005126/0.1545, allocations: 223.3 kB / 416.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1545, allocations: 0 / 416.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.1547, allocations: 100.2 kB / 416.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.1551, allocations: 20.14 kB / 416.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.1557, allocations: 300.6 kB / 417.2 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.1561, allocations: 0.716 MB / 418 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.019e-05/0.1562, allocations: 16.7 kB / 418 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.1563, allocations: 15.42 kB / 418 MB, free: 5.555 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1563, allocations: 0 / 418 MB, free: 5.555 MB / 350.1 MB Notification: Performance of Templates: time 0.003661/0.16, allocations: 1.139 MB / 419.1 MB, free: 4.418 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.makefile Environment - environmentSimulation: (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 & ./FastBuildings_FastBuildings.Input.SIM_ArtificialInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1) Environment - environmentSimulation: