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.001489/0.001489, allocations: 104.5 kB / 15.98 MB, free: 6.352 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.00158/0.00158, allocations: 193 kB / 16.91 MB, free: 6.188 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.317/1.317, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.0207/0.0207, allocations: 4.637 MB / 295.4 MB, free: 10.53 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 60.09 kB / 356.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2301, allocations: 50.51 MB / 407.2 MB, free: 31.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.003943/0.234, allocations: 4.193 MB / 411.4 MB, free: 26.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.2353, allocations: 0.8825 MB / 412.3 MB, free: 26.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002172/0.2355, allocations: 15.94 kB / 412.3 MB, free: 26.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.2358, allocations: 59.53 kB / 412.3 MB, free: 25.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.2361, allocations: 142.8 kB / 412.5 MB, free: 25.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.2364, allocations: 159.9 kB / 412.6 MB, free: 25.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005251/0.237, allocations: 0.7479 MB / 413.4 MB, free: 24.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005808/0.2376, allocations: 0.5235 MB / 413.9 MB, free: 24.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.2379, allocations: 275.2 kB / 414.2 MB, free: 24.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.2381, allocations: 302.7 kB / 414.5 MB, free: 23.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.157e-05/0.2382, allocations: 84 kB / 414.6 MB, free: 23.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.504e-05/0.2383, allocations: 84 kB / 414.6 MB, free: 23.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.646e-05/0.2384, allocations: 151.6 kB / 414.8 MB, free: 23.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.2386, allocations: 342.6 kB / 415.1 MB, free: 23.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.2391, allocations: 0.6764 MB / 415.8 MB, free: 22.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2391, allocations: 3.938 kB / 415.8 MB, free: 22.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2391, allocations: 0 / 415.8 MB, free: 22.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.2391, allocations: 0 / 415.8 MB, free: 22.48 MB / 302.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.2405, allocations: 0.8913 MB / 416.7 MB, free: 21.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2406, allocations: 12.03 kB / 416.7 MB, free: 21.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.2407, allocations: 56.28 kB / 416.8 MB, free: 21.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.2411, allocations: 379.1 kB / 417.1 MB, free: 21.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.2411, allocations: 37.38 kB / 417.2 MB, free: 21.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.59e-05/0.2412, allocations: 56.28 kB / 417.2 MB, free: 20.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008876/0.2421, allocations: 0.5851 MB / 417.8 MB, free: 20.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.2421, allocations: 3.938 kB / 417.8 MB, free: 20.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.2421, allocations: 20 kB / 417.8 MB, free: 20.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.2422, allocations: 12 kB / 417.8 MB, free: 20.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007909/0.243, allocations: 471.6 kB / 418.3 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.245, allocations: 1.895 MB / 420.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/0.2456, allocations: 421.7 kB / 420.6 MB, free: 17.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/0.2461, allocations: 286.2 kB / 420.9 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.745e-05/0.2461, allocations: 8.266 kB / 420.9 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005224/0.2466, allocations: 302.1 kB / 421.2 MB, free: 16.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 2.735e-06/0.2467, allocations: 0 / 421.2 MB, free: 16.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.001272/0.2479, allocations: 0.6596 MB / 421.8 MB, free: 16.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.248, allocations: 85.11 kB / 421.9 MB, free: 16.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.2483, allocations: 328.5 kB / 422.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.2483, allocations: 41.7 kB / 422.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.2485, allocations: 251.9 kB / 422.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.291e-05/0.2486, allocations: 130.2 kB / 422.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.2487, allocations: 82.03 kB / 422.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.2488, allocations: 354.7 kB / 423.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.2492, allocations: 204.8 kB / 423.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.2496, allocations: 271.4 kB / 423.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007172/0.2503, allocations: 0.4982 MB / 424.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2503, allocations: 4 kB / 424.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009157/0.2512, allocations: 0.5934 MB / 424.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.2513, allocations: 29.7 kB / 424.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2513, allocations: 8.125 kB / 424.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.2513, allocations: 8 kB / 424.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.2518, allocations: 127.7 kB / 424.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.216e-05/0.2519, allocations: 7.984 kB / 424.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.2522, allocations: 71.58 kB / 424.9 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.2523, allocations: 16 kB / 424.9 MB, free: 12.98 MB / 302.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.0002152/0.2525, allocations: 213.7 kB / 425.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.2525, allocations: 39.53 kB / 425.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006924/0.2532, allocations: 461.3 kB / 425.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2533, allocations: 8 kB / 425.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2533, allocations: 0 / 425.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2533, allocations: 3.984 kB / 425.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.2538, allocations: 0.5946 MB / 426.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2538, allocations: 4.188 kB / 426.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.2543, allocations: 107.9 kB / 426.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2543, allocations: 4 kB / 426.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.2543, allocations: 11.98 kB / 426.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2544, allocations: 3.984 kB / 426.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2544, allocations: 4 kB / 426.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.2556, allocations: 0.7893 MB / 427.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.2556, allocations: 112.7 kB / 427.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.2557, allocations: 12 kB / 427.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.256, allocations: 39.86 kB / 427.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.877e-05/0.2561, allocations: 35.95 kB / 427.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.2561, allocations: 8 kB / 427.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.2563, allocations: 247 kB / 427.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2563, allocations: 0 / 427.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.2567, allocations: 123.7 kB / 427.7 MB, free: 10.08 MB / 302.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.0001049/0.2568, allocations: 118 kB / 427.8 MB, free: 9.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009734/0.2578, allocations: 0.5537 MB / 428.4 MB, free: 9.395 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2578, allocations: 0 / 428.4 MB, free: 9.395 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.2582, allocations: 241.2 kB / 428.6 MB, free: 9.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.2586, allocations: 67.31 kB / 428.7 MB, free: 9.098 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.2605, allocations: 1.394 MB / 430.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.2607, allocations: 0.8657 MB / 430.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.2609, allocations: 39.42 kB / 431 MB, free: 6.734 MB / 302.1 MB Notification: Performance of SimCode: time 5.92e-07/0.2609, allocations: 3.938 kB / 431 MB, free: 6.73 MB / 302.1 MB Notification: Performance of Templates: time 0.006443/0.2673, allocations: 5.886 MB / 436.9 MB, free: 0.8594 MB / 302.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)