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.0009328/0.0009387, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001193/0.001193, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.2071/0.2071, allocations: 4.617 MB / 295.7 MB, free: 4.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003131, allocations: 7.984 kB / 357.8 MB, free: 2.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1132, allocations: 51.5 MB / 409.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.004022/0.1173, allocations: 3.603 MB / 412.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1187, allocations: 0.8727 MB / 413.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.1189, allocations: 8 kB / 413.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.1191, allocations: 67.47 kB / 413.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.1194, allocations: 134.8 kB / 414 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.1198, allocations: 103.9 kB / 414.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006445/0.1205, allocations: 0.6777 MB / 414.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005337/0.121, allocations: 368.4 kB / 415.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.1213, allocations: 195.2 kB / 415.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.1215, allocations: 211 kB / 415.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.1217, allocations: 28 kB / 415.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.83e-05/0.1218, allocations: 28 kB / 415.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.1219, allocations: 79.69 kB / 415.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.122, allocations: 145.4 kB / 415.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005504/0.1226, allocations: 0.6393 MB / 416.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.1226, allocations: 0 / 416.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1226, allocations: 0 / 416.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1226, allocations: 4 kB / 416.4 MB, free: 7.672 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.001499/0.1242, allocations: 0.8076 MB / 417.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.356e-05/0.1243, allocations: 12.03 kB / 417.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.1244, allocations: 86.52 kB / 417.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.1245, allocations: 63.23 kB / 417.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.125, allocations: 366 kB / 417.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/0.125, allocations: 41 kB / 417.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.458e-05/0.1251, allocations: 51.98 kB / 417.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.1262, allocations: 0.5926 MB / 418.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1262, allocations: 0 / 418.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/0.1263, allocations: 20 kB / 418.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.1263, allocations: 15.98 kB / 418.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009852/0.1273, allocations: 499.6 kB / 418.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.1297, allocations: 1.903 MB / 420.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000718/0.1305, allocations: 449.8 kB / 421.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.131, allocations: 298.2 kB / 421.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.977e-05/0.1311, allocations: 4.281 kB / 421.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000547/0.1316, allocations: 325.1 kB / 421.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.575e-06/0.1317, allocations: 8 kB / 421.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001349/0.133, allocations: 0.6823 MB / 422.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.1331, allocations: 93.05 kB / 422.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.1335, allocations: 332.5 kB / 423 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.1335, allocations: 37.7 kB / 423 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1336, allocations: 252 kB / 423.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.1338, allocations: 134.1 kB / 423.4 MB, free: 376 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.1338, allocations: 8 kB / 423.4 MB, free: 368 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1339, allocations: 346.8 kB / 423.8 MB, free: 12 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2079/0.3418, allocations: 216.2 kB / 424 MB, free: 45.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/0.3423, allocations: 286.3 kB / 424.3 MB, free: 45.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.3428, allocations: 276 kB / 424.5 MB, free: 45.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3428, allocations: 0 / 424.5 MB, free: 45.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001287/0.3441, allocations: 0.6116 MB / 425.1 MB, free: 45.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.3442, allocations: 37.42 kB / 425.2 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3442, allocations: 3.844 kB / 425.2 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.3442, allocations: 3.219 kB / 425.2 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005451/0.3448, allocations: 127.2 kB / 425.3 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.3448, allocations: 6.688 kB / 425.3 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.3452, allocations: 78.31 kB / 425.4 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.445e-05/0.3452, allocations: 15.41 kB / 425.4 MB, free: 45.21 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 ($whenCondition1,$PRE.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003497/0.3456, allocations: 220.1 kB / 425.6 MB, free: 45.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.3456, allocations: 39.19 kB / 425.7 MB, free: 45.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007573/0.3464, allocations: 474.1 kB / 426.1 MB, free: 45.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3464, allocations: 3.094 kB / 426.1 MB, free: 45.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3464, allocations: 0 / 426.1 MB, free: 45.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.3464, allocations: 4.906 kB / 426.1 MB, free: 45.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.3469, allocations: 0.5973 MB / 426.7 MB, free: 44.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.347, allocations: 0 / 426.7 MB, free: 44.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.3475, allocations: 123.3 kB / 426.8 MB, free: 44.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3476, allocations: 3.094 kB / 426.8 MB, free: 44.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.3476, allocations: 14.28 kB / 426.9 MB, free: 44.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3476, allocations: 6.5 kB / 426.9 MB, free: 44.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3476, allocations: 0 / 426.9 MB, free: 44.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.3489, allocations: 0.8082 MB / 427.7 MB, free: 44.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.298e-05/0.349, allocations: 124.8 kB / 427.8 MB, free: 44.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.902e-05/0.3491, allocations: 12 kB / 427.8 MB, free: 44.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.3493, allocations: 44.81 kB / 427.8 MB, free: 44.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/0.3494, allocations: 37.41 kB / 427.9 MB, free: 44.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.3495, allocations: 17.23 kB / 427.9 MB, free: 44.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.3497, allocations: 233.1 kB / 428.1 MB, free: 44.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3497, allocations: 0.5469 kB / 428.1 MB, free: 44.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005648/0.3503, allocations: 137.7 kB / 428.3 MB, free: 44.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001589/0.3519, allocations: 1.371 MB / 429.6 MB, free: 43.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009486/0.3529, allocations: 0.5542 MB / 430.2 MB, free: 43.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3529, allocations: 0 / 430.2 MB, free: 43.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000411/0.3533, allocations: 264 kB / 430.4 MB, free: 43.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.3537, allocations: 60.88 kB / 430.5 MB, free: 43.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004761/0.3585, allocations: 3.133 MB / 433.6 MB, free: 42.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.3588, allocations: 0.866 MB / 434.5 MB, free: 41.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002622/0.3591, allocations: 58.55 kB / 434.6 MB, free: 41.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.3593, allocations: 154.3 kB / 434.7 MB, free: 41.71 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3593, allocations: 3.25 kB / 434.7 MB, free: 41.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.3778, allocations: 7.923 MB / 442.6 MB, free: 41.18 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.3782, allocations: 183.6 kB / 442.8 MB, free: 40.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.305, allocations: 3.188 kB / 442.8 MB, free: 40.94 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/linux/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) Environment - environmentSimulation: