Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000976/0.0009761, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00104/0.00104, allocations: 177.3 kB / 15.94 MB, free: 228 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.394/1.394, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1427/0.1427, allocations: 4.624 MB / 295.6 MB, free: 4.023 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.000374, allocations: 4 kB / 357.6 MB, free: 2.598 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1253, allocations: 51.49 MB / 409.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.003416/0.1287, allocations: 2.419 MB / 411.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1299, allocations: 0.6742 MB / 412.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.1301, allocations: 8 kB / 412.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.1303, allocations: 35.69 kB / 412.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.1305, allocations: 83.75 kB / 412.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1308, allocations: 71.91 kB / 412.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.1311, allocations: 247.5 kB / 412.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.1315, allocations: 173 kB / 412.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1317, allocations: 111.5 kB / 412.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1319, allocations: 115.5 kB / 413 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.1319, allocations: 12 kB / 413 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.229e-05/0.132, allocations: 16 kB / 413 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.132, allocations: 39.83 kB / 413.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.1321, allocations: 85.52 kB / 413.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.1324, allocations: 323.5 kB / 413.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1324, allocations: 0 / 413.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1325, allocations: 0 / 413.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1325, allocations: 0 / 413.5 MB, free: 10.64 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001206/0.1337, allocations: 0.5908 MB / 414.1 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1337, allocations: 8.031 kB / 414.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.466e-05/0.1338, allocations: 35.61 kB / 414.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.1342, allocations: 271.4 kB / 414.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.1342, allocations: 20.56 kB / 414.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.1343, allocations: 24 kB / 414.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/0.135, allocations: 347.5 kB / 414.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.135, allocations: 0 / 414.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.1351, allocations: 12 kB / 414.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.1351, allocations: 4 kB / 414.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006995/0.1358, allocations: 298 kB / 415.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.1375, allocations: 1.068 MB / 416.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008144/0.1383, allocations: 311.2 kB / 416.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.1383, allocations: 192 / 416.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005085/0.1389, allocations: 207.6 kB / 416.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.1389, allocations: 4 kB / 416.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001215/0.1401, allocations: 450.4 kB / 417.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.1402, allocations: 55.41 kB / 417.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.1405, allocations: 229 kB / 417.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.1405, allocations: 29.7 kB / 417.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.1407, allocations: 176 kB / 417.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.1408, allocations: 78.92 kB / 417.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.1408, allocations: 0 / 417.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002823/0.1411, allocations: 338.8 kB / 418 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.1414, allocations: 139.9 kB / 418.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/0.1418, allocations: 171.3 kB / 418.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.1422, allocations: 178.5 kB / 418.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.1422, allocations: 3.953 kB / 418.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008111/0.143, allocations: 406 kB / 418.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.1431, allocations: 33.7 kB / 418.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1431, allocations: 0 / 418.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.1431, allocations: 4 kB / 418.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.1435, allocations: 67.89 kB / 418.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.1435, allocations: 4 kB / 418.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.1438, allocations: 51.78 kB / 419 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.1438, allocations: 15.98 kB / 419 MB, free: 4.824 MB / 350.1 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.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * Number of discrete states: 0 () * Number of clocked 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.0002252/0.1441, allocations: 157.8 kB / 419.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.1441, allocations: 19.77 kB / 419.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008542/0.145, allocations: 356.7 kB / 419.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.145, allocations: 4 kB / 419.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.145, allocations: 0 / 419.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.145, allocations: 0 / 419.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.1454, allocations: 389.2 kB / 419.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1454, allocations: 0 / 419.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.1458, allocations: 71.84 kB / 420 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1458, allocations: 4 kB / 420 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.1458, allocations: 7.984 kB / 420 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1458, allocations: 4 kB / 420 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1458, allocations: 0 / 420 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.1469, allocations: 0.5252 MB / 420.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.147, allocations: 100.8 kB / 420.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.147, allocations: 11.95 kB / 420.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.1472, allocations: 27.97 kB / 420.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.1473, allocations: 32 kB / 420.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.1473, allocations: 8 kB / 420.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.1475, allocations: 168.5 kB / 420.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1475, allocations: 0 / 420.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003061/0.1479, allocations: 67.84 kB / 420.9 MB, free: 2.789 MB / 350.1 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,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * 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.0001325/0.148, allocations: 103.2 kB / 421 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007415/0.1487, allocations: 382.4 kB / 421.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1488, allocations: 192 / 421.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.1491, allocations: 155.9 kB / 421.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.1494, allocations: 36.41 kB / 421.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.1508, allocations: 0.7472 MB / 422.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.1512, allocations: 0.7791 MB / 423.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.1514, allocations: 29.52 kB / 423.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.1515, allocations: 23.38 kB / 423.2 MB, free: 492 kB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1515, allocations: 0 / 423.2 MB, free: 492 kB / 350.1 MB Notification: Performance of Templates: time 0.2154/0.3669, allocations: 2.399 MB / 425.6 MB, free: 45.18 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.makefile Environment - environmentSimulation: (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) Environment - environmentSimulation: