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.001143/0.001143, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1426/0.1426, allocations: 4.623 MB / 295 MB, free: 3.137 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.89 kB / 356.5 MB, free: 2.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1099, allocations: 50.5 MB / 407 MB, free: 0 / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004328/0.1143, allocations: 2.861 MB / 409.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1157, allocations: 0.6818 MB / 410.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.116, allocations: 8 kB / 410.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.1162, allocations: 43.52 kB / 410.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.1164, allocations: 91.19 kB / 410.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.1168, allocations: 107.8 kB / 410.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006418/0.1175, allocations: 394.6 kB / 411.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004523/0.1179, allocations: 257.6 kB / 411.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.1182, allocations: 147.5 kB / 411.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.1185, allocations: 167.3 kB / 411.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.66e-05/0.1186, allocations: 40 kB / 411.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.731e-05/0.1186, allocations: 44 kB / 411.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.1187, allocations: 75.77 kB / 411.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.1189, allocations: 179.2 kB / 412.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.1194, allocations: 427 kB / 412.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.1194, allocations: 4 kB / 412.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1194, allocations: 0 / 412.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.824e-05/0.1194, allocations: 0 / 412.5 MB, free: 10.48 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.001486/0.1209, allocations: 0.6387 MB / 413.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.121, allocations: 8.031 kB / 413.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.1211, allocations: 40.5 kB / 413.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.1215, allocations: 268.7 kB / 413.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.1215, allocations: 16.94 kB / 413.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.108e-05/0.1216, allocations: 24.38 kB / 413.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007111/0.1223, allocations: 339.9 kB / 413.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1223, allocations: 7.938 kB / 413.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.1224, allocations: 8 kB / 413.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.1224, allocations: 11.98 kB / 413.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007559/0.1231, allocations: 274 kB / 414.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.1247, allocations: 1.052 MB / 415.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007363/0.1255, allocations: 298.6 kB / 415.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.1258, allocations: 164.7 kB / 415.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.1259, allocations: 7.938 kB / 415.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004204/0.1263, allocations: 188.6 kB / 415.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.1263, allocations: 0 / 415.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001007/0.1273, allocations: 422.9 kB / 416.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.1274, allocations: 55.41 kB / 416.3 MB, free: 6.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.1276, allocations: 237 kB / 416.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.1276, allocations: 29.7 kB / 416.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1277, allocations: 168.1 kB / 416.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.772e-05/0.1278, allocations: 74.94 kB / 416.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.962e-05/0.1279, allocations: 49.61 kB / 416.8 MB, free: 5.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.128, allocations: 334.8 kB / 417.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.1283, allocations: 123.9 kB / 417.3 MB, free: 5.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.1286, allocations: 167.3 kB / 417.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005874/0.1292, allocations: 314.6 kB / 417.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1292, allocations: 0 / 417.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007538/0.13, allocations: 378 kB / 418.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.332e-05/0.1301, allocations: 45.72 kB / 418.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1301, allocations: 4 kB / 418.2 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1301, allocations: 0 / 418.2 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.1304, allocations: 63.89 kB / 418.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1304, allocations: 4 kB / 418.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.1306, allocations: 31.73 kB / 418.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.1307, allocations: 15.98 kB / 418.3 MB, free: 4.418 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 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.1309, allocations: 160.3 kB / 418.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.1309, allocations: 31.66 kB / 418.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007414/0.1317, allocations: 332.3 kB / 418.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1317, allocations: 0 / 418.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1317, allocations: 0 / 418.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1317, allocations: 0 / 418.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.1321, allocations: 389.2 kB / 419.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1321, allocations: 4 kB / 419.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.1324, allocations: 55.95 kB / 419.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.1324, allocations: 3.938 kB / 419.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.1325, allocations: 11.98 kB / 419.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1325, allocations: 3.938 kB / 419.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1325, allocations: 3.938 kB / 419.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.1335, allocations: 498.3 kB / 419.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.859e-05/0.1336, allocations: 104.7 kB / 419.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.1336, allocations: 8 kB / 419.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.1338, allocations: 23.97 kB / 419.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.1339, allocations: 19.97 kB / 419.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.1339, allocations: 12.06 kB / 419.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.1341, allocations: 168.5 kB / 420.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1341, allocations: 0 / 420.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1344, allocations: 67.84 kB / 420.2 MB, free: 2.457 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.989e-05/0.1345, allocations: 107.7 kB / 420.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007458/0.1352, allocations: 374.3 kB / 420.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1352, allocations: 0 / 420.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.1355, allocations: 147.8 kB / 420.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1358, allocations: 32.36 kB / 420.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.137, allocations: 0.6343 MB / 421.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.1374, allocations: 0.7748 MB / 422.2 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.1375, allocations: 33.53 kB / 422.2 MB, free: 304 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.1376, allocations: 19.44 kB / 422.3 MB, free: 284 kB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1376, allocations: 0 / 422.3 MB, free: 284 kB / 350.1 MB Notification: Performance of Templates: time 0.181/0.3186, allocations: 2.73 MB / 425 MB, free: 48 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.makefile (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)