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.001119/0.001119, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001171/0.001171, allocations: 196.8 kB / 16.26 MB, free: 6.621 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.208/1.208, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.2033/0.2033, allocations: 4.62 MB / 294.7 MB, free: 3.168 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 59.91 kB / 356.1 MB, free: 2.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0867/0.08775, allocations: 50.51 MB / 406.6 MB, free: 220 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002915/0.09069, allocations: 1.756 MB / 408.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008843/0.0916, allocations: 470.9 kB / 408.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.09173, allocations: 4 kB / 408.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.126e-05/0.09183, allocations: 15.86 kB / 408.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.09197, allocations: 11.88 kB / 408.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.09213, allocations: 39.94 kB / 408.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.09231, allocations: 119.6 kB / 409 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.09244, allocations: 45.09 kB / 409.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.09257, allocations: 59.77 kB / 409.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.344e-05/0.09266, allocations: 59.69 kB / 409.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.09269, allocations: 8 kB / 409.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.676e-05/0.09272, allocations: 8 kB / 409.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.09275, allocations: 19.92 kB / 409.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.09281, allocations: 59.66 kB / 409.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.09294, allocations: 107.9 kB / 409.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.09295, allocations: 0 / 409.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.09296, allocations: 0 / 409.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.09297, allocations: 4 kB / 409.4 MB, free: 13.43 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.0006083/0.09358, allocations: 460.6 kB / 409.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.44e-05/0.09361, allocations: 8.031 kB / 409.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.09367, allocations: 54.55 kB / 409.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.09371, allocations: 20.73 kB / 409.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.09385, allocations: 204.6 kB / 410.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.09387, allocations: 12.36 kB / 410.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.0939, allocations: 23.92 kB / 410.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.09425, allocations: 185.7 kB / 410.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.09427, allocations: 3.938 kB / 410.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.09428, allocations: 4 kB / 410.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.09429, allocations: 7.938 kB / 410.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.09466, allocations: 143.8 kB / 410.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.09542, allocations: 0.7433 MB / 411.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.09588, allocations: 278 kB / 411.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.0961, allocations: 92.23 kB / 411.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.09613, allocations: 4 kB / 411.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002941/0.09643, allocations: 159.5 kB / 411.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.09644, allocations: 0 / 411.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006465/0.09709, allocations: 245.4 kB / 412 MB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.09718, allocations: 166.1 kB / 412.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.09731, allocations: 163.4 kB / 412.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.09734, allocations: 25.7 kB / 412.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.09741, allocations: 123.9 kB / 412.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.09744, allocations: 27.56 kB / 412.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/0.09752, allocations: 37.89 kB / 412.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.09762, allocations: 322.8 kB / 412.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.09782, allocations: 63.94 kB / 412.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.09803, allocations: 104.2 kB / 413 MB, free: 9.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.09842, allocations: 173.8 kB / 413.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.09844, allocations: 7.938 kB / 413.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000501/0.09895, allocations: 234.9 kB / 413.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.09898, allocations: 33.7 kB / 413.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.099, allocations: 4 kB / 413.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.09901, allocations: 0 / 413.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.09918, allocations: 36 kB / 413.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.09919, allocations: 7.984 kB / 413.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.09935, allocations: 19.97 kB / 413.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.09938, allocations: 12.36 kB / 413.5 MB, free: 8.852 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.0001071/0.09949, allocations: 129.8 kB / 413.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.09952, allocations: 11.81 kB / 413.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.0997, allocations: 102.5 kB / 413.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.09972, allocations: 4 kB / 413.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.09972, allocations: 0 / 413.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.09973, allocations: 0 / 413.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.1001, allocations: 445.6 kB / 414.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1001, allocations: 0 / 414.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.1003, allocations: 32.03 kB / 414.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1003, allocations: 4 kB / 414.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1003, allocations: 3.984 kB / 414.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1003, allocations: 7.938 kB / 414.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1003, allocations: 0 / 414.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004801/0.1008, allocations: 380.9 kB / 414.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.1009, allocations: 85.02 kB / 414.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.1009, allocations: 4 kB / 414.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.1011, allocations: 23.91 kB / 414.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.1012, allocations: 27.86 kB / 414.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1012, allocations: 4 kB / 414.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.655e-05/0.1013, allocations: 132.9 kB / 414.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1013, allocations: 0 / 414.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.1016, allocations: 23.91 kB / 414.9 MB, free: 7.336 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.0009235/0.1025, allocations: 0.9717 MB / 415.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004356/0.1029, allocations: 211.2 kB / 416.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.1029, allocations: 3.938 kB / 416.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.1032, allocations: 92.11 kB / 416.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.1035, allocations: 28.19 kB / 416.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.1061, allocations: 2.19 MB / 418.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1064, allocations: 0.7236 MB / 419.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.16e-05/0.1064, allocations: 16.86 kB / 419.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.217e-05/0.1065, allocations: 43.36 kB / 419.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1065, allocations: 0 / 419.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01076/0.1173, allocations: 2.824 MB / 422 MB, free: 140 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1442/0.2615, allocations: 190.2 kB / 422.2 MB, free: 51.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/1.888, allocations: 0 / 422.2 MB, free: 51.15 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)