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.0007478/0.0007476, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.004246/0.004246, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.302/1.302, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 1.511/1.511, allocations: 4.623 MB / 296 MB, free: 4.02 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003163, allocations: 8 kB / 358.4 MB, free: 2.062 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09497/0.0953, allocations: 51.5 MB / 409.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.001661/0.09699, allocations: 1.41 MB / 411.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006994/0.0977, allocations: 466.9 kB / 411.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.09776, allocations: 0 / 411.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.474e-05/0.09785, allocations: 7.922 kB / 411.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.304e-05/0.09793, allocations: 19.86 kB / 411.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.09808, allocations: 43.88 kB / 411.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.09822, allocations: 107.6 kB / 411.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.09836, allocations: 49.09 kB / 412 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.55e-05/0.09846, allocations: 35.84 kB / 412 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.051e-05/0.09855, allocations: 59.62 kB / 412.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.09858, allocations: 4 kB / 412.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.532e-05/0.0986, allocations: 4 kB / 412.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.09864, allocations: 19.86 kB / 412.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.143e-05/0.09872, allocations: 69.38 kB / 412.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.09884, allocations: 107.9 kB / 412.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.09885, allocations: 0 / 412.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.09886, allocations: 0 / 412.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.836e-06/0.09886, allocations: 0 / 412.3 MB, free: 12.12 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.0006792/0.09955, allocations: 460.7 kB / 412.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.09962, allocations: 8.031 kB / 412.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.121e-05/0.0997, allocations: 54.62 kB / 412.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.09974, allocations: 16.75 kB / 412.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.09992, allocations: 211.2 kB / 413 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.09994, allocations: 8.375 kB / 413 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.09998, allocations: 15.94 kB / 413 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.1004, allocations: 201.8 kB / 413.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1004, allocations: 3.938 kB / 413.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1005, allocations: 0 / 413.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1005, allocations: 4 kB / 413.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.1009, allocations: 171.7 kB / 413.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008554/0.1018, allocations: 0.751 MB / 414.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/0.1023, allocations: 290 kB / 414.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.1025, allocations: 108.2 kB / 414.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.1026, allocations: 8.141 kB / 414.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003292/0.1029, allocations: 175.5 kB / 414.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.1029, allocations: 0 / 414.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008063/0.1037, allocations: 281.5 kB / 415 MB, free: 9.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.1038, allocations: 158.2 kB / 415.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.104, allocations: 163.4 kB / 415.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1041, allocations: 33.69 kB / 415.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.491e-05/0.1041, allocations: 115.9 kB / 415.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.1042, allocations: 39.61 kB / 415.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.1043, allocations: 17.66 kB / 415.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1044, allocations: 326.8 kB / 415.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.1047, allocations: 75.94 kB / 415.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.1049, allocations: 104.2 kB / 416 MB, free: 7.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000477/0.1054, allocations: 209.8 kB / 416.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1054, allocations: 3.938 kB / 416.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000591/0.106, allocations: 258.9 kB / 416.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.1061, allocations: 33.7 kB / 416.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1061, allocations: 432 / 416.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1061, allocations: 4.094 kB / 416.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.1063, allocations: 35.97 kB / 416.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1063, allocations: 3.938 kB / 416.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1065, allocations: 36.03 kB / 416.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.1066, allocations: 4 kB / 416.6 MB, free: 7.367 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.0001748/0.1067, allocations: 145.7 kB / 416.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.1068, allocations: 11.81 kB / 416.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.1071, allocations: 94.52 kB / 416.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.1071, allocations: 4 kB / 416.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.1071, allocations: 0 / 416.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1071, allocations: 0 / 416.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005564/0.1077, allocations: 457.6 kB / 417.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1077, allocations: 0 / 417.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.1079, allocations: 31.97 kB / 417.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1079, allocations: 8.031 kB / 417.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1079, allocations: 8 kB / 417.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1079, allocations: 3.984 kB / 417.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1079, allocations: 0 / 417.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006507/0.1086, allocations: 396.9 kB / 417.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.1086, allocations: 93 kB / 417.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.1087, allocations: 4 kB / 417.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.1089, allocations: 19.98 kB / 417.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.109, allocations: 23.91 kB / 417.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.109, allocations: 4 kB / 417.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1091, allocations: 140.8 kB / 418 MB, free: 5.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1092, allocations: 0 / 418 MB, free: 5.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.1095, allocations: 23.91 kB / 418 MB, free: 5.805 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.001232/0.1107, allocations: 1.007 MB / 419 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005885/0.1113, allocations: 235.3 kB / 419.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1113, allocations: 0 / 419.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.1116, allocations: 95.88 kB / 419.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.1121, allocations: 26.22 kB / 419.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.115, allocations: 2.261 MB / 421.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.1154, allocations: 0.7238 MB / 422.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.919e-05/0.1155, allocations: 16.86 kB / 422.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.594e-05/0.1156, allocations: 43.42 kB / 422.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1156, allocations: 3.938 kB / 422.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3156/0.4312, allocations: 2.649 MB / 425.1 MB, free: 44.68 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/0.4314, allocations: 184 kB / 425.3 MB, free: 44.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.102, allocations: 3.125 kB / 425.3 MB, free: 44.43 MB / 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)