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.001487/0.001493, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.001612/0.001612, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02175/0.02175, allocations: 4.655 MB / 295.8 MB, free: 10.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 63.91 kB / 358 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.2004, allocations: 50.5 MB / 408.5 MB, free: 30.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.003693/0.2041, allocations: 3.975 MB / 412.5 MB, free: 26.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.2053, allocations: 0.8992 MB / 413.4 MB, free: 25.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.2055, allocations: 15.94 kB / 413.4 MB, free: 25.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.2057, allocations: 79.22 kB / 413.5 MB, free: 25.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.2059, allocations: 170.5 kB / 413.6 MB, free: 25.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.2062, allocations: 171.8 kB / 413.8 MB, free: 25.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004573/0.2067, allocations: 0.7518 MB / 414.5 MB, free: 24.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005155/0.2072, allocations: 0.5197 MB / 415.1 MB, free: 24.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.2074, allocations: 279.1 kB / 415.3 MB, free: 23.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.2077, allocations: 298.8 kB / 415.6 MB, free: 23.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.267e-05/0.2078, allocations: 84 kB / 415.7 MB, free: 23.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-05/0.2078, allocations: 84 kB / 415.8 MB, free: 23.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.2079, allocations: 147.5 kB / 415.9 MB, free: 23.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.2082, allocations: 354.6 kB / 416.3 MB, free: 22.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.2086, allocations: 0.8312 MB / 417.1 MB, free: 22.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2086, allocations: 4 kB / 417.1 MB, free: 22.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2086, allocations: 4 kB / 417.1 MB, free: 22.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.2086, allocations: 0 / 417.1 MB, free: 22.13 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.001298/0.2099, allocations: 0.899 MB / 418 MB, free: 21.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.21, allocations: 8.031 kB / 418 MB, free: 21.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.088e-05/0.2101, allocations: 60.28 kB / 418.1 MB, free: 21.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.2104, allocations: 379.1 kB / 418.5 MB, free: 20.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.2105, allocations: 37.38 kB / 418.5 MB, free: 20.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.2105, allocations: 56.28 kB / 418.5 MB, free: 20.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008321/0.2114, allocations: 0.5773 MB / 419.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.2114, allocations: 7.938 kB / 419.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/0.2115, allocations: 23.98 kB / 419.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.2115, allocations: 12 kB / 419.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007759/0.2122, allocations: 467.7 kB / 419.6 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.2142, allocations: 1.875 MB / 421.5 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/0.2148, allocations: 435 kB / 421.9 MB, free: 17.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004045/0.2152, allocations: 282.2 kB / 422.2 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.2153, allocations: 8.281 kB / 422.2 MB, free: 16.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004746/0.2158, allocations: 317.1 kB / 422.5 MB, free: 16.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 1.904e-06/0.2158, allocations: 3.938 kB / 422.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.001156/0.2169, allocations: 0.6519 MB / 423.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.217, allocations: 89.03 kB / 423.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.2172, allocations: 328.5 kB / 423.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.2173, allocations: 33.7 kB / 423.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2174, allocations: 259.9 kB / 423.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.143e-05/0.2175, allocations: 134.1 kB / 424 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.2176, allocations: 78.03 kB / 424.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.022e-05/0.2177, allocations: 350.7 kB / 424.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.218, allocations: 200.8 kB / 424.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.2184, allocations: 279.4 kB / 424.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007014/0.2191, allocations: 0.5021 MB / 425.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2191, allocations: 0 / 425.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008711/0.22, allocations: 0.5937 MB / 426 MB, free: 12.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.22, allocations: 34.8 kB / 426 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2201, allocations: 0 / 426 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2201, allocations: 4 kB / 426 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.2206, allocations: 132.1 kB / 426.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.2206, allocations: 4 kB / 426.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.2209, allocations: 55.59 kB / 426.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.2209, allocations: 16 kB / 426.2 MB, free: 12.64 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.0001722/0.2211, allocations: 217.6 kB / 426.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.2212, allocations: 35.72 kB / 426.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006764/0.2219, allocations: 461.3 kB / 426.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2219, allocations: 4 kB / 426.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.2219, allocations: 4 kB / 426.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2219, allocations: 3.984 kB / 426.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.2223, allocations: 0.6024 MB / 427.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2224, allocations: 0 / 427.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005057/0.2229, allocations: 111.9 kB / 427.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2229, allocations: 4 kB / 427.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.2229, allocations: 11.98 kB / 427.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2229, allocations: 4 kB / 427.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.2229, allocations: 3.938 kB / 427.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.2241, allocations: 0.774 MB / 428.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.2242, allocations: 116.7 kB / 428.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.2242, allocations: 15.98 kB / 428.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.2245, allocations: 19.98 kB / 428.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/0.2246, allocations: 43.88 kB / 428.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.2246, allocations: 12 kB / 428.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.2248, allocations: 239 kB / 428.9 MB, free: 9.879 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2248, allocations: 0 / 428.9 MB, free: 9.879 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.2251, allocations: 135.5 kB / 429 MB, free: 9.746 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 8.734e-05/0.2252, allocations: 114.8 kB / 429.1 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008129/0.2261, allocations: 0.5223 MB / 429.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2261, allocations: 4 kB / 429.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.2265, allocations: 245.1 kB / 429.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.2268, allocations: 55.89 kB / 429.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.2284, allocations: 1.162 MB / 431.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.2287, allocations: 0.8657 MB / 432 MB, free: 6.715 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.2289, allocations: 58.92 kB / 432 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.902e-05/0.229, allocations: 35.42 kB / 432.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.229, allocations: 0 / 432.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of Templates: time 0.007022/0.236, allocations: 4.381 MB / 436.4 MB, free: 2.277 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 -s cvode -lv LOG_STATS > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1)