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.001106/0.001106, allocations: 108 kB / 15.61 MB, free: 152 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.001167/0.001167, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1372/0.1372, allocations: 4.627 MB / 295 MB, free: 3.113 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.89 kB / 356.5 MB, free: 2.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1087, allocations: 50.5 MB / 407 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.006697/0.1154, allocations: 3.962 MB / 411 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1174, allocations: 0.9153 MB / 411.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004376/0.1179, allocations: 8 kB / 411.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.1182, allocations: 83.16 kB / 412 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.1185, allocations: 166.5 kB / 412.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.119, allocations: 171.8 kB / 412.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000702/0.1197, allocations: 0.748 MB / 413.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006694/0.1204, allocations: 0.5119 MB / 413.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.1207, allocations: 287.1 kB / 413.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.121, allocations: 294.8 kB / 414.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.1211, allocations: 84 kB / 414.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1213, allocations: 88 kB / 414.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1214, allocations: 159.5 kB / 414.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002993/0.1217, allocations: 342.6 kB / 414.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000652/0.1224, allocations: 0.8143 MB / 415.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1224, allocations: 0 / 415.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1224, allocations: 0 / 415.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1224, allocations: 4 kB / 415.6 MB, free: 7.336 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.00156/0.124, allocations: 0.8952 MB / 416.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.124, allocations: 12.03 kB / 416.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1241, allocations: 64.19 kB / 416.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.1245, allocations: 375.1 kB / 417 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.1246, allocations: 37.38 kB / 417 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.138e-05/0.1247, allocations: 48.38 kB / 417.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.1257, allocations: 0.5851 MB / 417.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1257, allocations: 0 / 417.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.1258, allocations: 23.98 kB / 417.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.1258, allocations: 12 kB / 417.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009484/0.1267, allocations: 471.6 kB / 418.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.1292, allocations: 1.902 MB / 420 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007604/0.1299, allocations: 436.7 kB / 420.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005044/0.1304, allocations: 286.2 kB / 420.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.1305, allocations: 8.281 kB / 420.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005659/0.1311, allocations: 305.8 kB / 421.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.763e-06/0.1311, allocations: 0 / 421.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001412/0.1325, allocations: 0.6629 MB / 421.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1326, allocations: 85.09 kB / 421.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.1329, allocations: 332.5 kB / 422.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.133, allocations: 29.7 kB / 422.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1332, allocations: 263.9 kB / 422.4 MB, free: 280 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.1333, allocations: 130.1 kB / 422.5 MB, free: 148 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.1334, allocations: 78.03 kB / 422.6 MB, free: 60 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.1907/0.3241, allocations: 353.4 kB / 423 MB, free: 48.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000609/0.3248, allocations: 200 kB / 423.2 MB, free: 48.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/0.3253, allocations: 272.1 kB / 423.4 MB, free: 48.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009274/0.3262, allocations: 0.4978 MB / 423.9 MB, free: 48.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.3262, allocations: 1.906 kB / 423.9 MB, free: 48.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00113/0.3274, allocations: 0.5963 MB / 424.5 MB, free: 48.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.3274, allocations: 37.19 kB / 424.6 MB, free: 48.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.3274, allocations: 1.688 kB / 424.6 MB, free: 48.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.3275, allocations: 6.656 kB / 424.6 MB, free: 48.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.328, allocations: 124.1 kB / 424.7 MB, free: 48.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3281, allocations: 9.562 kB / 424.7 MB, free: 48.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.3284, allocations: 48.44 kB / 424.7 MB, free: 48.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.3284, allocations: 17.53 kB / 424.8 MB, free: 48.42 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.0002163/0.3286, allocations: 215.5 kB / 425 MB, free: 48.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.3287, allocations: 36.88 kB / 425 MB, free: 48.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007327/0.3294, allocations: 466.5 kB / 425.5 MB, free: 48.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.3294, allocations: 3.312 kB / 425.5 MB, free: 48.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3294, allocations: 3.938 kB / 425.5 MB, free: 48.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3295, allocations: 0 / 425.5 MB, free: 48.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.3299, allocations: 0.5994 MB / 426.1 MB, free: 47.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3299, allocations: 1.125 kB / 426.1 MB, free: 47.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/0.3304, allocations: 114.1 kB / 426.2 MB, free: 47.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3305, allocations: 4.516 kB / 426.2 MB, free: 47.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.3305, allocations: 6.906 kB / 426.2 MB, free: 47.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3305, allocations: 3.328 kB / 426.2 MB, free: 47.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3305, allocations: 6.906 kB / 426.2 MB, free: 47.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.3317, allocations: 0.7725 MB / 427 MB, free: 47.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.3318, allocations: 116.4 kB / 427.1 MB, free: 47.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.672e-05/0.3319, allocations: 11.77 kB / 427.1 MB, free: 47.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.3321, allocations: 29.67 kB / 427.1 MB, free: 47.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3322, allocations: 41.55 kB / 427.2 MB, free: 47.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.3323, allocations: 9.406 kB / 427.2 MB, free: 47.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.3325, allocations: 241.8 kB / 427.4 MB, free: 47.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3325, allocations: 0 / 427.4 MB, free: 47.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.3328, allocations: 133.8 kB / 427.5 MB, free: 47.1 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 9.899e-05/0.3329, allocations: 118.9 kB / 427.7 MB, free: 47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009636/0.3339, allocations: 0.5504 MB / 428.2 MB, free: 46.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3339, allocations: 0.875 kB / 428.2 MB, free: 46.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004023/0.3343, allocations: 246.5 kB / 428.5 MB, free: 46.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.3347, allocations: 63.09 kB / 428.5 MB, free: 46.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.3365, allocations: 1.181 MB / 429.7 MB, free: 46.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.3367, allocations: 0.8687 MB / 430.6 MB, free: 45.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.3369, allocations: 59.59 kB / 430.6 MB, free: 45.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.769e-05/0.337, allocations: 31.95 kB / 430.7 MB, free: 45.3 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.337, allocations: 2.531 kB / 430.7 MB, free: 45.3 MB / 350.1 MB Notification: Performance of Templates: time 0.007159/0.3442, allocations: 4.38 MB / 435 MB, free: 45.05 MB / 350.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)