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: "" <> buildModelFMU(FastBuildings.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1012/0.1012, allocations: 4.639 MB / 295 MB, free: 3.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 71.89 kB / 356.7 MB, free: 2.422 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.074/0.07518, allocations: 50.51 MB / 407.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.004589/0.0798, allocations: 3.956 MB / 411.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.08126, allocations: 0.9075 MB / 412 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.08155, allocations: 12 kB / 412 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.08179, allocations: 83.16 kB / 412.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.08215, allocations: 162.5 kB / 412.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.08255, allocations: 175.8 kB / 412.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007238/0.08329, allocations: 0.7519 MB / 413.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00064/0.08393, allocations: 0.5197 MB / 413.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003332/0.08428, allocations: 275.2 kB / 414 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.08464, allocations: 294.8 kB / 414.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.08477, allocations: 84 kB / 414.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.0849, allocations: 87.94 kB / 414.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.08502, allocations: 155.5 kB / 414.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.08534, allocations: 334.7 kB / 414.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006322/0.08598, allocations: 0.8299 MB / 415.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.08599, allocations: 4 kB / 415.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.086, allocations: 0 / 415.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.08602, allocations: 0 / 415.8 MB, free: 7.219 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.00142/0.08745, allocations: 0.8969 MB / 416.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.08748, allocations: 8.031 kB / 416.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.949e-05/0.08758, allocations: 86.7 kB / 416.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.234e-05/0.08768, allocations: 60.28 kB / 416.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.08806, allocations: 375.1 kB / 417.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.08809, allocations: 37.38 kB / 417.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.08818, allocations: 60.27 kB / 417.3 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009404/0.08912, allocations: 0.5811 MB / 417.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.08915, allocations: 0 / 417.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/0.0892, allocations: 20 kB / 417.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.08921, allocations: 12 kB / 417.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009117/0.09013, allocations: 475.6 kB / 418.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.09233, allocations: 1.918 MB / 420.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007145/0.09306, allocations: 421.7 kB / 420.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/0.09355, allocations: 290.2 kB / 421 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.09359, allocations: 8.266 kB / 421 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005259/0.09413, allocations: 309.8 kB / 421.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.824e-06/0.09414, allocations: 0 / 421.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001349/0.09549, allocations: 0.6587 MB / 421.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.09555, allocations: 85.11 kB / 422 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.09586, allocations: 332.5 kB / 422.3 MB, free: 360 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.0959, allocations: 37.7 kB / 422.4 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.09605, allocations: 251.9 kB / 422.6 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1259/0.2219, allocations: 127.4 kB / 422.7 MB, free: 48.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.2221, allocations: 75.8 kB / 422.8 MB, free: 48.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.766e-05/0.2222, allocations: 353.9 kB / 423.2 MB, free: 48.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.2226, allocations: 199.4 kB / 423.4 MB, free: 48.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.223, allocations: 275.4 kB / 423.6 MB, free: 48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008348/0.2238, allocations: 0.5003 MB / 424.1 MB, free: 47.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2239, allocations: 0.9375 kB / 424.1 MB, free: 47.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009859/0.2248, allocations: 0.5972 MB / 424.7 MB, free: 47.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.2249, allocations: 33.45 kB / 424.8 MB, free: 47.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.2249, allocations: 4.969 kB / 424.8 MB, free: 47.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2249, allocations: 3.188 kB / 424.8 MB, free: 47.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.2254, allocations: 125.3 kB / 424.9 MB, free: 47.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.2254, allocations: 7.031 kB / 424.9 MB, free: 47.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.2257, allocations: 52.88 kB / 425 MB, free: 47.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.2258, allocations: 16.34 kB / 425 MB, free: 47.8 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.0001775/0.226, allocations: 211.2 kB / 425.2 MB, free: 47.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.226, allocations: 39 kB / 425.2 MB, free: 47.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006822/0.2267, allocations: 463.4 kB / 425.7 MB, free: 47.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2267, allocations: 3.344 kB / 425.7 MB, free: 47.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2267, allocations: 3.938 kB / 425.7 MB, free: 47.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2267, allocations: 10.66 kB / 425.7 MB, free: 47.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.2271, allocations: 0.5924 MB / 426.3 MB, free: 47.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2272, allocations: 3.281 kB / 426.3 MB, free: 47.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.2277, allocations: 107.6 kB / 426.4 MB, free: 47.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2277, allocations: 3.219 kB / 426.4 MB, free: 47.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.2277, allocations: 15.78 kB / 426.4 MB, free: 47.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.2277, allocations: 3.25 kB / 426.4 MB, free: 47.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2277, allocations: 6.984 kB / 426.4 MB, free: 47.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.2289, allocations: 0.7707 MB / 427.2 MB, free: 46.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.2289, allocations: 118.1 kB / 427.3 MB, free: 46.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.229, allocations: 14.38 kB / 427.3 MB, free: 46.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.2292, allocations: 23.59 kB / 427.3 MB, free: 46.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.2293, allocations: 42.62 kB / 427.4 MB, free: 46.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.2294, allocations: 10.28 kB / 427.4 MB, free: 46.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.2295, allocations: 241.7 kB / 427.6 MB, free: 46.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2295, allocations: 0 / 427.6 MB, free: 46.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.2299, allocations: 138 kB / 427.8 MB, free: 46.68 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 0.001291/0.2312, allocations: 1.335 MB / 429.1 MB, free: 45.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008974/0.2321, allocations: 0.5528 MB / 429.6 MB, free: 45.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2321, allocations: 3.125 kB / 429.6 MB, free: 45.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000388/0.2325, allocations: 244 kB / 429.9 MB, free: 45.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.2328, allocations: 59.58 kB / 429.9 MB, free: 45.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/0.2375, allocations: 4.479 MB / 434.4 MB, free: 42.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.2377, allocations: 0.8672 MB / 435.3 MB, free: 42.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.2379, allocations: 60.12 kB / 435.3 MB, free: 42.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.2381, allocations: 152.1 kB / 435.5 MB, free: 42.04 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2381, allocations: 0 / 435.5 MB, free: 42.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.484/1.722, allocations: 8.581 MB / 444.1 MB, free: 41.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/13.42, allocations: 10.97 kB / 444.1 MB, free: 41.23 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1)