Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_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.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005259/0.005259, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001044/0.001044, allocations: 195.9 kB / 16.67 MB, free: 5.52 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.01975/0.01975, allocations: 4.639 MB / 295.2 MB, free: 10.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 59.91 kB / 408.3 MB, free: 27.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08241/0.08354, allocations: 50.5 MB / 458.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.004818/0.08839, allocations: 3.981 MB / 462.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.09002, allocations: 0.9076 MB / 463.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002987/0.09034, allocations: 11.94 kB / 463.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.09062, allocations: 79.22 kB / 463.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.09099, allocations: 170.5 kB / 463.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.09144, allocations: 171.8 kB / 464.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007643/0.09221, allocations: 0.7519 MB / 464.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006749/0.0929, allocations: 0.5119 MB / 465.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.09329, allocations: 287.2 kB / 465.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.09368, allocations: 294.7 kB / 465.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.708e-05/0.09377, allocations: 84 kB / 466 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.312e-05/0.09388, allocations: 88 kB / 466.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.094, allocations: 143.6 kB / 466.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003172/0.09433, allocations: 350.5 kB / 466.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007453/0.09508, allocations: 0.8374 MB / 467.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.09509, allocations: 0 / 467.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.0951, allocations: 0 / 467.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.09511, allocations: 0 / 467.4 MB, free: 15.86 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001481/0.0966, allocations: 0.8913 MB / 468.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.09665, allocations: 15.97 kB / 468.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.09676, allocations: 64.17 kB / 468.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.09719, allocations: 375.2 kB / 468.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.09723, allocations: 41.38 kB / 468.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.871e-05/0.09732, allocations: 48.38 kB / 468.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009704/0.09829, allocations: 0.5851 MB / 469.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.09832, allocations: 3.938 kB / 469.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.09837, allocations: 20 kB / 469.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.09839, allocations: 12 kB / 469.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008751/0.09927, allocations: 475.7 kB / 469.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.1016, allocations: 1.891 MB / 471.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007238/0.1024, allocations: 428.9 kB / 472.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.1028, allocations: 285.9 kB / 472.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.1029, allocations: 8.266 kB / 472.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005099/0.1034, allocations: 309.5 kB / 472.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.693e-06/0.1034, allocations: 4 kB / 472.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001282/0.1047, allocations: 0.648 MB / 473.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.1048, allocations: 89.05 kB / 473.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.1051, allocations: 336.4 kB / 473.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.1051, allocations: 41.7 kB / 473.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1053, allocations: 244 kB / 474.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.1054, allocations: 134.1 kB / 474.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.1055, allocations: 82.03 kB / 474.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1056, allocations: 350.7 kB / 474.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.106, allocations: 204.8 kB / 474.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.1065, allocations: 271.4 kB / 475.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008046/0.1073, allocations: 0.5021 MB / 475.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1073, allocations: 0 / 475.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001011/0.1083, allocations: 0.6016 MB / 476.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.1084, allocations: 29.7 kB / 476.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1084, allocations: 4 kB / 476.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1084, allocations: 4.188 kB / 476.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.1089, allocations: 127.8 kB / 476.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1089, allocations: 4 kB / 476.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.1092, allocations: 51.84 kB / 476.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.1093, allocations: 16 kB / 476.5 MB, free: 6.375 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 50 * 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.0002117/0.1095, allocations: 217.6 kB / 476.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.1095, allocations: 39.53 kB / 476.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007854/0.1103, allocations: 465.3 kB / 477.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1103, allocations: 4 kB / 477.2 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1104, allocations: 3.938 kB / 477.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1104, allocations: 3.984 kB / 477.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/0.1109, allocations: 0.5986 MB / 477.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1109, allocations: 0 / 477.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/0.1115, allocations: 115.9 kB / 478 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1115, allocations: 0 / 478 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.1115, allocations: 8 kB / 478 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1115, allocations: 3.984 kB / 478 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1115, allocations: 4 kB / 478 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.1128, allocations: 0.7778 MB / 478.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/0.1129, allocations: 116.6 kB / 478.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.113, allocations: 12 kB / 478.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.1132, allocations: 23.97 kB / 478.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/0.1133, allocations: 35.95 kB / 478.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.1133, allocations: 15.98 kB / 478.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002184/0.1136, allocations: 243 kB / 479.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1136, allocations: 0 / 479.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003424/0.1139, allocations: 131.5 kB / 479.3 MB, free: 3.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.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 (38): * Single equations (assignments): 36 * 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.0001047/0.114, allocations: 108 kB / 479.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009183/0.115, allocations: 0.5262 MB / 479.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.115, allocations: 0 / 479.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.1154, allocations: 241.2 kB / 480.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1158, allocations: 69.7 kB / 480.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.1176, allocations: 1.169 MB / 481.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.118, allocations: 0.8579 MB / 482.3 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.1183, allocations: 58.94 kB / 482.3 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.1184, allocations: 35.42 kB / 482.4 MB, free: 348 kB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1184, allocations: 0 / 482.4 MB, free: 348 kB / 350.1 MB Notification: Performance of Templates: time 0.008089/0.1265, allocations: 4.476 MB / 486.8 MB, free: 11.9 MB / 366.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.makefile (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1)