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.001426/0.001426, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001554/0.001554, allocations: 195 kB / 16.14 MB, free: 6.664 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1644/0.1644, allocations: 4.629 MB / 294.6 MB, free: 3.168 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.89 kB / 356 MB, free: 3.016 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1126, allocations: 50.5 MB / 406.5 MB, free: 476 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.003032/0.1157, allocations: 1.745 MB / 408.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007844/0.1165, allocations: 482.8 kB / 408.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.1166, allocations: 4 kB / 408.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.1167, allocations: 7.922 kB / 408.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.197e-05/0.1168, allocations: 23.8 kB / 408.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.117, allocations: 35.89 kB / 408.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.1172, allocations: 111.6 kB / 408.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.1173, allocations: 49.08 kB / 408.9 MB, free: 14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1175, allocations: 43.84 kB / 408.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.1176, allocations: 67.61 kB / 409 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.1176, allocations: 8 kB / 409 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.297e-05/0.1177, allocations: 4 kB / 409 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.1177, allocations: 19.92 kB / 409 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/0.1178, allocations: 51.67 kB / 409.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.1179, allocations: 103.9 kB / 409.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1179, allocations: 0 / 409.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.118, allocations: 0 / 409.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.118, allocations: 0 / 409.2 MB, free: 13.71 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.0008338/0.1188, allocations: 460.7 kB / 409.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1189, allocations: 8.031 kB / 409.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.471e-05/0.1189, allocations: 58.55 kB / 409.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.119, allocations: 20.75 kB / 409.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1192, allocations: 208.5 kB / 409.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1192, allocations: 8.375 kB / 409.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.1193, allocations: 19.92 kB / 410 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.1197, allocations: 181.8 kB / 410.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1197, allocations: 7.938 kB / 410.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.1197, allocations: 8 kB / 410.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1197, allocations: 0 / 410.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.1202, allocations: 139.8 kB / 410.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009222/0.1211, allocations: 0.751 MB / 411 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004992/0.1216, allocations: 270.1 kB / 411.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.1218, allocations: 104.1 kB / 411.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1219, allocations: 0 / 411.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003306/0.1222, allocations: 155.5 kB / 411.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.1222, allocations: 0 / 411.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000751/0.123, allocations: 249.2 kB / 411.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.147e-05/0.1231, allocations: 162.4 kB / 412 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.1232, allocations: 167.7 kB / 412.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.1233, allocations: 37.64 kB / 412.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.1234, allocations: 119.9 kB / 412.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.1234, allocations: 31.55 kB / 412.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.1235, allocations: 33.7 kB / 412.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1236, allocations: 322.8 kB / 412.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.1238, allocations: 63.94 kB / 412.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.124, allocations: 104.2 kB / 412.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.1244, allocations: 177.8 kB / 413 MB, free: 9.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1244, allocations: 7.938 kB / 413 MB, free: 9.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005169/0.125, allocations: 230.9 kB / 413.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.125, allocations: 33.8 kB / 413.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.125, allocations: 8 kB / 413.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.125, allocations: 0 / 413.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.1252, allocations: 27.97 kB / 413.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1252, allocations: 4 kB / 413.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.1254, allocations: 19.97 kB / 413.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.1254, allocations: 4 kB / 413.3 MB, free: 9.141 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 (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 (13): * Single equations (assignments): 12 * 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.0001097/0.1255, allocations: 137.7 kB / 413.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.1256, allocations: 15.81 kB / 413.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.1257, allocations: 94.52 kB / 413.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1258, allocations: 4 kB / 413.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1258, allocations: 0 / 413.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1258, allocations: 4 kB / 413.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.1261, allocations: 449.6 kB / 414 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1262, allocations: 4 kB / 414 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.1263, allocations: 23.97 kB / 414 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1263, allocations: 4.469 kB / 414 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.1263, allocations: 3.984 kB / 414 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1264, allocations: 4 kB / 414 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1264, allocations: 0 / 414 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005242/0.1269, allocations: 377 kB / 414.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.127, allocations: 89 kB / 414.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.127, allocations: 4 kB / 414.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.1272, allocations: 19.98 kB / 414.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.1273, allocations: 23.97 kB / 414.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.1273, allocations: 8 kB / 414.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1274, allocations: 132.8 kB / 414.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1274, allocations: 0 / 414.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.1277, allocations: 27.91 kB / 414.7 MB, free: 7.621 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 (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.001035/0.1288, allocations: 0.9756 MB / 415.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005186/0.1293, allocations: 207.1 kB / 415.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1293, allocations: 192 / 415.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.1296, allocations: 87.88 kB / 416 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.13, allocations: 24.08 kB / 416 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.1328, allocations: 2.196 MB / 418.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1331, allocations: 0.7238 MB / 418.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.679e-05/0.1332, allocations: 16.55 kB / 418.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.1333, allocations: 35.42 kB / 419 MB, free: 3.16 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1333, allocations: 0 / 419 MB, free: 3.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.364/1.498, allocations: 2.74 MB / 421.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003073/1.498, allocations: 188 kB / 421.9 MB, free: 252 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/3.737, allocations: 0 / 421.9 MB, free: 252 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/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)