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.001087/0.001087, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01067/0.01067, allocations: 169.6 kB / 16.27 MB, free: 6.355 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.553/1.553, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1966/0.1966, allocations: 4.627 MB / 296.1 MB, free: 3.969 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 8 kB / 358.3 MB, free: 2.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1332, allocations: 51.48 MB / 409.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002491/0.1358, allocations: 1.382 MB / 411.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1369, allocations: 478.8 kB / 411.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.137, allocations: 4 kB / 411.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.1372, allocations: 7.922 kB / 411.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.1373, allocations: 19.84 kB / 411.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1375, allocations: 39.91 kB / 411.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.1377, allocations: 107.6 kB / 411.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.1379, allocations: 49.41 kB / 411.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.1381, allocations: 39.84 kB / 411.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.1382, allocations: 51.75 kB / 412 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.1383, allocations: 4 kB / 412 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.176e-05/0.1383, allocations: 4 kB / 412 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.1383, allocations: 15.86 kB / 412 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.1384, allocations: 69.38 kB / 412.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.1386, allocations: 99.89 kB / 412.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1386, allocations: 0 / 412.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1386, allocations: 0 / 412.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1386, allocations: 0 / 412.2 MB, free: 12.28 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.0008984/0.1395, allocations: 452.8 kB / 412.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.1396, allocations: 12.03 kB / 412.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.1397, allocations: 12.75 kB / 412.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.1399, allocations: 204.6 kB / 412.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.1399, allocations: 8.375 kB / 412.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.14, allocations: 12.12 kB / 412.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.1404, allocations: 177.8 kB / 413 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1404, allocations: 3.938 kB / 413 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.1405, allocations: 0 / 413 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.1405, allocations: 4 kB / 413 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004368/0.1409, allocations: 147.8 kB / 413.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009857/0.1419, allocations: 0.716 MB / 413.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.1424, allocations: 193 kB / 414.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.1426, allocations: 100.3 kB / 414.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.1427, allocations: 4 kB / 414.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.143, allocations: 175.5 kB / 414.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.143, allocations: 0 / 414.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008313/0.1439, allocations: 269.7 kB / 414.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.315e-05/0.144, allocations: 162.2 kB / 414.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1442, allocations: 162.2 kB / 414.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1442, allocations: 29.7 kB / 415 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.12e-05/0.1443, allocations: 112 kB / 415.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.1443, allocations: 31.55 kB / 415.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.1443, allocations: 13.72 kB / 415.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1445, allocations: 326.8 kB / 415.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.1447, allocations: 75.88 kB / 415.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.145, allocations: 108.2 kB / 415.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.1454, allocations: 201.8 kB / 415.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1454, allocations: 0 / 415.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000593/0.146, allocations: 235.1 kB / 416 MB, free: 8.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/0.1461, allocations: 37.69 kB / 416.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1461, allocations: 0 / 416.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1461, allocations: 7.938 kB / 416.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.1463, allocations: 36.03 kB / 416.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1464, allocations: 4 kB / 416.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.1465, allocations: 23.89 kB / 416.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.1466, allocations: 4.188 kB / 416.1 MB, free: 7.891 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 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.1467, allocations: 141.7 kB / 416.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.1468, allocations: 7.906 kB / 416.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.147, allocations: 97.83 kB / 416.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.147, allocations: 4 kB / 416.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.147, allocations: 0 / 416.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.147, allocations: 0 / 416.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.1473, allocations: 334.3 kB / 416.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.1474, allocations: 8 kB / 416.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.1475, allocations: 31.97 kB / 416.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1475, allocations: 0 / 416.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.1475, allocations: 11.98 kB / 416.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1476, allocations: 3.938 kB / 416.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.1476, allocations: 4 kB / 416.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/0.1481, allocations: 310.7 kB / 417.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.1482, allocations: 92.94 kB / 417.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.1482, allocations: 4 kB / 417.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.1484, allocations: 28.05 kB / 417.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/0.1485, allocations: 19.97 kB / 417.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.1485, allocations: 4 kB / 417.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.75e-05/0.1486, allocations: 128.1 kB / 417.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1486, allocations: 0 / 417.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1489, allocations: 19.91 kB / 417.4 MB, free: 6.535 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 (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.0001059/0.149, allocations: 103.2 kB / 417.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005726/0.1496, allocations: 223.2 kB / 417.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1496, allocations: 0 / 417.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002732/0.1499, allocations: 96.23 kB / 417.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1503, allocations: 25.28 kB / 417.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006583/0.1509, allocations: 324.5 kB / 418.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1512, allocations: 0.7082 MB / 418.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.552e-05/0.1513, allocations: 20.42 kB / 418.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.1514, allocations: 11.44 kB / 418.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1514, allocations: 0 / 418.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of Templates: time 0.004438/0.1558, allocations: 1.165 MB / 420 MB, free: 3.797 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: