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: "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",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.0008402/0.0008402, allocations: 85.94 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.00111/0.00111, 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.418/1.418, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1688/0.1688, allocations: 4.619 MB / 295.7 MB, free: 4.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003294, allocations: 12 kB / 357.8 MB, free: 2.426 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1132, allocations: 51.49 MB / 409.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.001863/0.1152, allocations: 1.379 MB / 410.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006707/0.1159, allocations: 447.2 kB / 411.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.1159, allocations: 0 / 411.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.68e-05/0.116, allocations: 11.92 kB / 411.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.1161, allocations: 15.8 kB / 411.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.1163, allocations: 35.95 kB / 411.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1164, allocations: 107.6 kB / 411.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.1166, allocations: 45.25 kB / 411.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.1169, allocations: 47.77 kB / 411.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.125e-05/0.117, allocations: 55.7 kB / 411.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.117, allocations: 7.938 kB / 411.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.637e-05/0.117, allocations: 4 kB / 411.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.1171, allocations: 15.92 kB / 411.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.1171, allocations: 37.64 kB / 411.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.1172, allocations: 68.09 kB / 411.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.1173, allocations: 4 kB / 411.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1173, allocations: 0 / 411.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1173, allocations: 0 / 411.5 MB, free: 12.61 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.0007466/0.118, allocations: 460.5 kB / 412 MB, free: 12.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1181, allocations: 8.031 kB / 412 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.259e-05/0.1181, allocations: 54.39 kB / 412 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.1182, allocations: 19.81 kB / 412.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.1184, allocations: 206 kB / 412.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1184, allocations: 8 kB / 412.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.1185, allocations: 19.98 kB / 412.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.1189, allocations: 201.7 kB / 412.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1189, allocations: 4 kB / 412.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.1189, allocations: 4 kB / 412.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1189, allocations: 4 kB / 412.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004992/0.1194, allocations: 151.8 kB / 412.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008773/0.1203, allocations: 0.7666 MB / 413.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004743/0.1208, allocations: 282.1 kB / 413.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.1211, allocations: 108.2 kB / 413.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.1211, allocations: 0 / 413.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004669/0.1216, allocations: 175.5 kB / 414 MB, free: 9.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1216, allocations: 4 kB / 414 MB, free: 9.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007423/0.1223, allocations: 281.7 kB / 414.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.399e-05/0.1224, allocations: 170.3 kB / 414.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.1226, allocations: 167.3 kB / 414.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1226, allocations: 29.7 kB / 414.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.1227, allocations: 111.9 kB / 414.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.1227, allocations: 39.61 kB / 414.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.1227, allocations: 0 / 414.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1229, allocations: 326.8 kB / 415.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.1231, allocations: 75.94 kB / 415.1 MB, free: 8.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.1233, allocations: 108.2 kB / 415.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.1235, allocations: 101.7 kB / 415.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1235, allocations: 0 / 415.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006551/0.1242, allocations: 251 kB / 415.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/0.1243, allocations: 41.69 kB / 415.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1243, allocations: 3.938 kB / 415.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1243, allocations: 4 kB / 415.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.1245, allocations: 40 kB / 415.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.1245, allocations: 4 kB / 415.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.1247, allocations: 23.92 kB / 415.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.1247, allocations: 11.98 kB / 415.7 MB, free: 8 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 ($whenCondition1,$PRE.powElePul.T_start,powElePul.T_start,$PRE.powElePul.count,powElePul.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.1248, allocations: 125.8 kB / 415.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.1248, allocations: 19.8 kB / 415.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.125, allocations: 94.53 kB / 416 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.1251, allocations: 4 kB / 416 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1251, allocations: 0 / 416 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1251, allocations: 7.984 kB / 416 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.1254, allocations: 449.7 kB / 416.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.1255, allocations: 4 kB / 416.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.1256, allocations: 31.97 kB / 416.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1256, allocations: 0 / 416.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1256, allocations: 4 kB / 416.4 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1257, allocations: 0 / 416.4 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1257, allocations: 11.97 kB / 416.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006171/0.1263, allocations: 396.9 kB / 416.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.1263, allocations: 89.02 kB / 416.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.1264, allocations: 8.062 kB / 416.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.1266, allocations: 27.97 kB / 417 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.1267, allocations: 23.91 kB / 417 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1267, allocations: 4 kB / 417 MB, free: 6.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.433e-05/0.1268, allocations: 124.9 kB / 417.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1268, allocations: 0 / 417.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.1271, allocations: 31.91 kB / 417.1 MB, free: 6.449 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 (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.00105/0.1282, allocations: 1.015 MB / 418.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006217/0.1288, allocations: 227.2 kB / 418.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1288, allocations: 0 / 418.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.1291, allocations: 100.3 kB / 418.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.1295, allocations: 17.16 kB / 418.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.1315, allocations: 1.058 MB / 419.6 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.132, allocations: 0.716 MB / 420.3 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.471e-05/0.1321, allocations: 20.55 kB / 420.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.684e-05/0.1322, allocations: 43.36 kB / 420.3 MB, free: 3.117 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1322, allocations: 0 / 420.3 MB, free: 3.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.1471, allocations: 2.604 MB / 422.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.1474, allocations: 175.4 kB / 423.1 MB, free: 400 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.011, allocations: 0 / 423.1 MB, free: 400 kB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial.fmu > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1) Environment - environmentSimulation: