Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, 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.001205/0.001205, 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1566/0.1566, allocations: 4.625 MB / 295 MB, free: 3.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001451, allocations: 67.84 kB / 356.5 MB, free: 2.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1037, allocations: 50.5 MB / 407 MB, free: 12 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.004763/0.1085, allocations: 2.867 MB / 409.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.11, allocations: 0.6661 MB / 410.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.1102, allocations: 4 kB / 410.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.1105, allocations: 47.52 kB / 410.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.1108, allocations: 91.19 kB / 410.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.1112, allocations: 103.8 kB / 410.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.1117, allocations: 374.6 kB / 411.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003809/0.1121, allocations: 204.4 kB / 411.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.1124, allocations: 151.5 kB / 411.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.1126, allocations: 155.4 kB / 411.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.1127, allocations: 36 kB / 411.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.778e-05/0.1128, allocations: 40 kB / 411.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.1128, allocations: 75.77 kB / 411.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.113, allocations: 171.2 kB / 412 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.1134, allocations: 391 kB / 412.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1134, allocations: 7.938 kB / 412.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1134, allocations: 0 / 412.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.1134, allocations: 0 / 412.4 MB, free: 10.63 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.001268/0.1147, allocations: 0.6311 MB / 413 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1147, allocations: 8.031 kB / 413 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.029e-05/0.1148, allocations: 44.55 kB / 413.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.1152, allocations: 256.7 kB / 413.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.1152, allocations: 24.94 kB / 413.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.1152, allocations: 24.38 kB / 413.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006334/0.1159, allocations: 315.9 kB / 413.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1159, allocations: 0 / 413.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.1159, allocations: 4 kB / 413.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.116, allocations: 8 kB / 413.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006323/0.1166, allocations: 250.1 kB / 413.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.1182, allocations: 1.009 MB / 414.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007476/0.1189, allocations: 274.6 kB / 415.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.1193, allocations: 148.8 kB / 415.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.1194, allocations: 7.922 kB / 415.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005188/0.1199, allocations: 176.3 kB / 415.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.605e-06/0.1199, allocations: 0 / 415.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00116/0.1211, allocations: 386.9 kB / 415.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.1212, allocations: 55.41 kB / 416 MB, free: 6.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.1215, allocations: 221 kB / 416.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.1215, allocations: 25.7 kB / 416.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1217, allocations: 172.1 kB / 416.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.531e-05/0.1218, allocations: 74.94 kB / 416.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.122, allocations: 49.61 kB / 416.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.1222, allocations: 334.8 kB / 416.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.1225, allocations: 115.9 kB / 416.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.1229, allocations: 139.4 kB / 417.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006285/0.1235, allocations: 290.6 kB / 417.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1235, allocations: 0 / 417.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008698/0.1244, allocations: 349.9 kB / 417.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.537e-05/0.1245, allocations: 37.69 kB / 417.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.1245, allocations: 0 / 417.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.1245, allocations: 96 / 417.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.1249, allocations: 67.95 kB / 417.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.1249, allocations: 7.938 kB / 417.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.1251, allocations: 31.73 kB / 417.8 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.1252, allocations: 11.98 kB / 417.8 MB, free: 4.875 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 (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 (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.0001867/0.1254, allocations: 146.1 kB / 418 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.1254, allocations: 27.66 kB / 418 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007309/0.1262, allocations: 308.5 kB / 418.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1262, allocations: 0 / 418.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1262, allocations: 4 kB / 418.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1262, allocations: 0 / 418.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.1266, allocations: 373.3 kB / 418.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1266, allocations: 4 kB / 418.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.1269, allocations: 59.89 kB / 418.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.127, allocations: 3.938 kB / 418.8 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.127, allocations: 8 kB / 418.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.127, allocations: 11.92 kB / 418.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.127, allocations: 0 / 418.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.128, allocations: 449.2 kB / 419.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.1281, allocations: 108.7 kB / 419.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.1282, allocations: 4 kB / 419.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.1284, allocations: 19.98 kB / 419.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.492e-05/0.1285, allocations: 19.97 kB / 419.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1285, allocations: 4 kB / 419.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1286, allocations: 164.5 kB / 419.5 MB, free: 3.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1286, allocations: 8 kB / 419.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000296/0.1289, allocations: 67.84 kB / 419.6 MB, free: 3.02 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,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 (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 0.0001198/0.1291, allocations: 103.7 kB / 419.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000825/0.1299, allocations: 334 kB / 420 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1299, allocations: 4.188 kB / 420 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.1302, allocations: 131.9 kB / 420.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1306, allocations: 32.41 kB / 420.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.1319, allocations: 0.5991 MB / 420.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.1323, allocations: 0.767 MB / 421.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.1325, allocations: 29.53 kB / 421.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.1325, allocations: 19.44 kB / 421.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1326, allocations: 0 / 421.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of Templates: time 0.1797/0.3122, allocations: 2.585 MB / 424.2 MB, free: 47.53 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)