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.0009337/0.0009336, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009854/0.0009855, allocations: 195.7 kB / 16.14 MB, free: 6.73 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.276/1.276, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1572/0.1572, allocations: 4.632 MB / 294.6 MB, free: 3.125 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009829/0.0009829, allocations: 63.91 kB / 355.9 MB, free: 3.027 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08579/0.08678, allocations: 50.5 MB / 406.4 MB, free: 488 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.00524/0.09206, allocations: 4.21 MB / 410.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.09444, allocations: 0.8881 MB / 411.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003911/0.0949, allocations: 11.94 kB / 411.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.09519, allocations: 63.53 kB / 411.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.09553, allocations: 146.9 kB / 411.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.09594, allocations: 143.9 kB / 411.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000588/0.09654, allocations: 0.6972 MB / 412.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006059/0.09715, allocations: 477.9 kB / 413 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.09741, allocations: 231.2 kB / 413.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.09768, allocations: 274.7 kB / 413.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.027e-05/0.09776, allocations: 48 kB / 413.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.24e-05/0.09786, allocations: 44 kB / 413.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.09796, allocations: 115.5 kB / 413.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.09823, allocations: 306.6 kB / 414 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000615/0.09886, allocations: 0.7987 MB / 414.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.09887, allocations: 0 / 414.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.09888, allocations: 0 / 414.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.09889, allocations: 0 / 414.8 MB, free: 8.012 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.001438/0.1003, allocations: 0.8913 MB / 415.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.1004, allocations: 8.031 kB / 415.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.1005, allocations: 64.19 kB / 415.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.1009, allocations: 379.2 kB / 416.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.1009, allocations: 33.38 kB / 416.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/0.101, allocations: 52.38 kB / 416.2 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009419/0.1019, allocations: 0.589 MB / 416.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.102, allocations: 3.984 kB / 416.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.102, allocations: 16 kB / 416.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.102, allocations: 12 kB / 416.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000859/0.1029, allocations: 471.6 kB / 417.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.105, allocations: 1.902 MB / 419.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/0.1057, allocations: 428 kB / 419.6 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004538/0.1061, allocations: 290.2 kB / 419.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.1062, allocations: 8.266 kB / 419.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005174/0.1067, allocations: 309.8 kB / 420.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.442e-06/0.1067, allocations: 0 / 420.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001259/0.108, allocations: 0.6588 MB / 420.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.108, allocations: 85.05 kB / 420.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.1083, allocations: 332.5 kB / 421.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.1084, allocations: 37.7 kB / 421.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.1085, allocations: 256 kB / 421.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.113e-05/0.1086, allocations: 130.1 kB / 421.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.1087, allocations: 82.03 kB / 421.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1089, allocations: 350.7 kB / 422.1 MB, free: 404 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.1093, allocations: 204.8 kB / 422.3 MB, free: 200 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1698/0.2791, allocations: 267.2 kB / 422.6 MB, free: 48.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.2802, allocations: 0.504 MB / 423.1 MB, free: 48.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.2802, allocations: 1.125 kB / 423.1 MB, free: 48.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001591/0.2818, allocations: 0.59 MB / 423.7 MB, free: 48.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.2818, allocations: 39.95 kB / 423.7 MB, free: 48.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.2819, allocations: 0 / 423.7 MB, free: 48.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.2819, allocations: 6.312 kB / 423.7 MB, free: 48.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/0.2825, allocations: 122.2 kB / 423.8 MB, free: 48.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.2825, allocations: 5.531 kB / 423.8 MB, free: 48.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/0.283, allocations: 70.52 kB / 423.9 MB, free: 48.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.283, allocations: 21.33 kB / 423.9 MB, free: 48.02 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.0003974/0.2834, allocations: 216.7 kB / 424.1 MB, free: 47.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.373e-05/0.2835, allocations: 33.8 kB / 424.2 MB, free: 47.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008638/0.2844, allocations: 462.3 kB / 424.6 MB, free: 47.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.2844, allocations: 3.094 kB / 424.6 MB, free: 47.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.2844, allocations: 0 / 424.6 MB, free: 47.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.2844, allocations: 9.781 kB / 424.6 MB, free: 47.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007322/0.2852, allocations: 0.5965 MB / 425.2 MB, free: 47.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2852, allocations: 0 / 425.2 MB, free: 47.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/0.2857, allocations: 112 kB / 425.3 MB, free: 47.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.2858, allocations: 2.938 kB / 425.3 MB, free: 47.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.2858, allocations: 14.75 kB / 425.3 MB, free: 47.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.2858, allocations: 0 / 425.3 MB, free: 47.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2858, allocations: 5.703 kB / 425.3 MB, free: 47.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.2871, allocations: 0.7803 MB / 426.1 MB, free: 47.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.2872, allocations: 116 kB / 426.2 MB, free: 47.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/0.2872, allocations: 11.19 kB / 426.3 MB, free: 47.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.2875, allocations: 34.53 kB / 426.3 MB, free: 47.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.2876, allocations: 41.22 kB / 426.3 MB, free: 47.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.2876, allocations: 6.375 kB / 426.3 MB, free: 47.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.2878, allocations: 242.5 kB / 426.6 MB, free: 47.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2878, allocations: 0 / 426.6 MB, free: 47.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000375/0.2882, allocations: 141 kB / 426.7 MB, free: 47.14 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.867e-05/0.2883, allocations: 110 kB / 426.8 MB, free: 47.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008735/0.2892, allocations: 0.5244 MB / 427.3 MB, free: 46.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2892, allocations: 0 / 427.3 MB, free: 46.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004157/0.2896, allocations: 246.2 kB / 427.6 MB, free: 46.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.2901, allocations: 58.05 kB / 427.6 MB, free: 46.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.2919, allocations: 1.378 MB / 429 MB, free: 45.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.2922, allocations: 0.8641 MB / 429.9 MB, free: 45.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.2924, allocations: 61.59 kB / 429.9 MB, free: 45.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.2925, allocations: 34.08 kB / 430 MB, free: 45.14 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2925, allocations: 0 / 430 MB, free: 45.14 MB / 350.1 MB Notification: Performance of Templates: time 0.006723/0.2992, allocations: 4.057 MB / 434 MB, free: 44.92 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)