Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") translateModel(FastBuildings.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005508/0.005507, allocations: 101 kB / 15.73 MB, free: 6.047 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.001167/0.001167, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1553/0.1553, allocations: 4.611 MB / 295.2 MB, free: 3.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.89 kB / 408.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2345, allocations: 50.51 MB / 458.7 MB, free: 20.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002861/0.2374, allocations: 1.686 MB / 460.4 MB, free: 19.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009217/0.2383, allocations: 487.2 kB / 460.9 MB, free: 18.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.189e-05/0.2384, allocations: 0 / 460.9 MB, free: 18.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.2385, allocations: 11.3 kB / 460.9 MB, free: 18.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/0.2386, allocations: 28.44 kB / 460.9 MB, free: 18.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.2389, allocations: 51.23 kB / 461 MB, free: 18.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.2391, allocations: 125 kB / 461.1 MB, free: 18.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.2393, allocations: 48.52 kB / 461.2 MB, free: 18.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.2394, allocations: 54.39 kB / 461.2 MB, free: 18.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.2395, allocations: 59.48 kB / 461.3 MB, free: 18.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.2396, allocations: 9.219 kB / 461.3 MB, free: 18.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.941e-05/0.2396, allocations: 13 kB / 461.3 MB, free: 18.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.2396, allocations: 27.84 kB / 461.3 MB, free: 18.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.84e-05/0.2397, allocations: 49.03 kB / 461.4 MB, free: 18.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.2399, allocations: 105.7 kB / 461.5 MB, free: 18.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2399, allocations: 0 / 461.5 MB, free: 18.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2399, allocations: 0 / 461.5 MB, free: 18.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.2399, allocations: 4.609 kB / 461.5 MB, free: 18.64 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008353/0.2408, allocations: 464.7 kB / 461.9 MB, free: 18.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2408, allocations: 9.641 kB / 461.9 MB, free: 18.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.2409, allocations: 17.91 kB / 461.9 MB, free: 18.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.241, allocations: 204.1 kB / 462.1 MB, free: 17.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.241, allocations: 3.938 kB / 462.2 MB, free: 17.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.2411, allocations: 18.28 kB / 462.2 MB, free: 17.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.2415, allocations: 171.2 kB / 462.3 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2415, allocations: 0 / 462.3 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.2415, allocations: 7.859 kB / 462.3 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2415, allocations: 3.938 kB / 462.3 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.2419, allocations: 133.2 kB / 462.5 MB, free: 17.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/0.2427, allocations: 0.7117 MB / 463.2 MB, free: 17.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.2431, allocations: 267 kB / 463.5 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.2433, allocations: 91.08 kB / 463.5 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.2433, allocations: 7.625 kB / 463.5 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003131/0.2437, allocations: 153.9 kB / 463.7 MB, free: 16.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.2437, allocations: 0 / 463.7 MB, free: 16.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007126/0.2444, allocations: 251.9 kB / 463.9 MB, free: 16.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.2445, allocations: 163.1 kB / 464.1 MB, free: 16.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.2446, allocations: 169.1 kB / 464.3 MB, free: 16.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.2446, allocations: 29.7 kB / 464.3 MB, free: 16.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.2447, allocations: 110.1 kB / 464.4 MB, free: 16.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.2447, allocations: 36.88 kB / 464.4 MB, free: 16.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.2448, allocations: 30.38 kB / 464.5 MB, free: 16.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.139e-05/0.2449, allocations: 326.1 kB / 464.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.2451, allocations: 62.12 kB / 464.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.2453, allocations: 95.28 kB / 464.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.2456, allocations: 181.4 kB / 465.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2456, allocations: 0 / 465.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004671/0.2461, allocations: 233.5 kB / 465.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.2462, allocations: 36.11 kB / 465.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.2462, allocations: 0.8438 kB / 465.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.2462, allocations: 7.094 kB / 465.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.2464, allocations: 27.83 kB / 465.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2464, allocations: 11.09 kB / 465.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.2466, allocations: 18.62 kB / 465.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.2466, allocations: 7.75 kB / 465.5 MB, free: 15.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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 9.586e-05/0.2467, allocations: 130 kB / 465.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.2467, allocations: 22.03 kB / 465.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.2469, allocations: 93.45 kB / 465.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.2469, allocations: 3.422 kB / 465.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.247, allocations: 1.375 kB / 465.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.247, allocations: 2.203 kB / 465.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.2474, allocations: 430.2 kB / 466.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2474, allocations: 5.094 kB / 466.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2475, allocations: 28.22 kB / 466.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2475, allocations: 2.219 kB / 466.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.2476, allocations: 7.016 kB / 466.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2476, allocations: 1.125 kB / 466.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.2476, allocations: 9.938 kB / 466.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.2481, allocations: 362.1 kB / 466.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.2482, allocations: 98.78 kB / 466.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.2482, allocations: 3.578 kB / 466.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.2484, allocations: 16.59 kB / 466.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/0.2485, allocations: 21.56 kB / 466.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.2486, allocations: 13.05 kB / 466.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.2487, allocations: 122.9 kB / 466.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2487, allocations: 0 / 466.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.249, allocations: 23.84 kB / 466.8 MB, free: 14.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (11): * Single equations (assignments): 9 * 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.405e-05/0.2491, allocations: 111.7 kB / 466.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005524/0.2496, allocations: 210 kB / 467.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.2497, allocations: 4 kB / 467.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.2499, allocations: 90.72 kB / 467.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.2503, allocations: 19.14 kB / 467.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006678/0.251, allocations: 276 kB / 467.5 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.2512, allocations: 0.7315 MB / 468.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.432e-05/0.2513, allocations: 13.52 kB / 468.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.2514, allocations: 14.3 kB / 468.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2514, allocations: 4 kB / 468.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of Templates: time 0.004639/0.256, allocations: 1.408 MB / 469.7 MB, free: 13.15 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.makefile (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & ./FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1)