Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001885/0.001885, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02198/0.02198, allocations: 4.653 MB / 295.8 MB, free: 10.21 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.89 kB / 358 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2211, allocations: 50.5 MB / 408.5 MB, free: 30.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.003321/0.2244, allocations: 2.874 MB / 411.4 MB, free: 27.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008838/0.2253, allocations: 0.6649 MB / 412 MB, free: 27.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.2255, allocations: 4 kB / 412 MB, free: 27.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.2256, allocations: 43.52 kB / 412.1 MB, free: 27.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.2258, allocations: 95.09 kB / 412.2 MB, free: 27.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.2261, allocations: 103.8 kB / 412.3 MB, free: 26.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.2263, allocations: 378.5 kB / 412.6 MB, free: 26.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.2266, allocations: 199.1 kB / 412.8 MB, free: 26.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.2268, allocations: 143.5 kB / 413 MB, free: 26.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.2269, allocations: 156.9 kB / 413.1 MB, free: 26.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.227, allocations: 36 kB / 413.2 MB, free: 26.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.147e-05/0.227, allocations: 40 kB / 413.2 MB, free: 26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.2271, allocations: 75.77 kB / 413.3 MB, free: 25.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.2272, allocations: 175.2 kB / 413.4 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.2275, allocations: 400.5 kB / 413.8 MB, free: 25.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2276, allocations: 0 / 413.8 MB, free: 25.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2276, allocations: 0 / 413.8 MB, free: 25.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.2276, allocations: 0 / 413.8 MB, free: 25.36 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001048/0.2286, allocations: 0.6371 MB / 414.5 MB, free: 24.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2287, allocations: 8.031 kB / 414.5 MB, free: 24.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.2288, allocations: 32.56 kB / 414.5 MB, free: 24.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.229, allocations: 272.6 kB / 414.8 MB, free: 24.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.2291, allocations: 16.94 kB / 414.8 MB, free: 24.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.2291, allocations: 32.31 kB / 414.8 MB, free: 24.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.2296, allocations: 316 kB / 415.1 MB, free: 23.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2296, allocations: 0 / 415.1 MB, free: 23.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.2297, allocations: 4 kB / 415.1 MB, free: 23.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.2297, allocations: 8 kB / 415.1 MB, free: 23.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005126/0.2302, allocations: 250 kB / 415.4 MB, free: 23.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.2314, allocations: 0.9938 MB / 416.4 MB, free: 22.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.232, allocations: 285.6 kB / 416.7 MB, free: 22.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.2323, allocations: 144.8 kB / 416.8 MB, free: 22.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.2323, allocations: 7.938 kB / 416.8 MB, free: 22.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/0.2326, allocations: 176.9 kB / 417 MB, free: 22.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.694e-06/0.2327, allocations: 0 / 417 MB, free: 22.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.000771/0.2334, allocations: 379 kB / 417.3 MB, free: 21.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.2335, allocations: 55.41 kB / 417.4 MB, free: 21.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.2336, allocations: 220.9 kB / 417.6 MB, free: 21.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.2336, allocations: 29.64 kB / 417.6 MB, free: 21.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.2337, allocations: 172.1 kB / 417.8 MB, free: 21.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.2338, allocations: 71 kB / 417.9 MB, free: 21.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.697e-05/0.2339, allocations: 53.61 kB / 417.9 MB, free: 21.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.2339, allocations: 334.8 kB / 418.3 MB, free: 20.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.2342, allocations: 111.9 kB / 418.4 MB, free: 20.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.2344, allocations: 147.3 kB / 418.5 MB, free: 20.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.2349, allocations: 288.2 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2349, allocations: 0 / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005709/0.2355, allocations: 361.9 kB / 419.1 MB, free: 19.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.2355, allocations: 29.7 kB / 419.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2355, allocations: 7.984 kB / 419.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2355, allocations: 3.938 kB / 419.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.2358, allocations: 67.89 kB / 419.3 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.2358, allocations: 8.094 kB / 419.3 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.236, allocations: 31.77 kB / 419.3 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.2361, allocations: 8 kB / 419.3 MB, free: 19.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001159/0.2362, allocations: 154.4 kB / 419.5 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.2362, allocations: 27.66 kB / 419.5 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005721/0.2368, allocations: 303.6 kB / 419.8 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2368, allocations: 0 / 419.8 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2368, allocations: 3.938 kB / 419.8 MB, free: 19.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2368, allocations: 0 / 419.8 MB, free: 19.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.2371, allocations: 377.3 kB / 420.1 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2371, allocations: 0 / 420.1 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.2374, allocations: 55.95 kB / 420.2 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2374, allocations: 3.938 kB / 420.2 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.2374, allocations: 8 kB / 420.2 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2374, allocations: 4 kB / 420.2 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2374, allocations: 0 / 420.2 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007617/0.2382, allocations: 458.6 kB / 420.7 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.2383, allocations: 92.89 kB / 420.8 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.2383, allocations: 8 kB / 420.8 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.2385, allocations: 23.95 kB / 420.8 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.2386, allocations: 23.97 kB / 420.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.2386, allocations: 4 kB / 420.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.414e-05/0.2387, allocations: 160.5 kB / 421 MB, free: 17.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2387, allocations: 0 / 421 MB, free: 17.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.2389, allocations: 75.75 kB / 421 MB, free: 17.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * 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 (22): * Single equations (assignments): 20 * 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 7.26e-05/0.239, allocations: 104 kB / 421.1 MB, free: 17.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005451/0.2396, allocations: 320 kB / 421.5 MB, free: 17.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2396, allocations: 0 / 421.5 MB, free: 17.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.2398, allocations: 134.7 kB / 421.6 MB, free: 17.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.2401, allocations: 36.36 kB / 421.6 MB, free: 17.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.2411, allocations: 0.6068 MB / 422.2 MB, free: 16.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.2412, allocations: 0.7632 MB / 423 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.2413, allocations: 33.45 kB / 423 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.621e-05/0.2414, allocations: 27.42 kB / 423.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2414, allocations: 0 / 423.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of Templates: time 0.00475/0.2462, allocations: 2.588 MB / 425.6 MB, free: 13.11 MB / 302.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)