Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7355/0.7355, allocations: 128.7 MB / 143.7 MB, free: 2.32 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 190.3 kB / 173.8 MB, free: 6.113 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 101.3 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003433, allocations: 9.75 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.143, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.2703, allocations: 104.6 MB / 0.7376 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.2706, allocations: 87.94 kB / 0.7377 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3171/0.5877, allocations: 5.576 MB / 0.7431 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.847e-06/0.5878, allocations: 0.7812 kB / 0.7431 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.409e-05/0.5878, allocations: 1.688 kB / 0.7431 GB, free: 109.4 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006736/0.5885, allocations: 413.7 kB / 0.7435 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.859e-05/0.5886, allocations: 9.094 kB / 0.7435 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.5886, allocations: 36.88 kB / 0.7436 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.5888, allocations: 14.45 kB / 0.7436 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.589, allocations: 190.4 kB / 0.7438 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.589, allocations: 2.578 kB / 0.7438 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.589, allocations: 4.938 kB / 0.7438 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.5892, allocations: 65.94 kB / 0.7438 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.5892, allocations: 0.7188 kB / 0.7438 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5893, allocations: 1.031 kB / 0.7438 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.5893, allocations: 7.922 kB / 0.7438 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.5894, allocations: 54.22 kB / 0.7439 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.59, allocations: 309.8 kB / 0.7442 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.5901, allocations: 59.5 kB / 0.7442 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.5902, allocations: 4.609 kB / 0.7442 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.5902, allocations: 37.45 kB / 0.7443 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.5902, allocations: 5.469 kB / 0.7443 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0003996/0.5906, allocations: 120 kB / 0.7444 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.5907, allocations: 56.25 kB / 0.7444 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.434e-05/0.5908, allocations: 117.7 kB / 0.7446 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.5908, allocations: 30.64 kB / 0.7446 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.5908, allocations: 95.08 kB / 0.7447 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.5909, allocations: 19.39 kB / 0.7447 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.5909, allocations: 0.5 kB / 0.7447 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.5909, allocations: 316.5 kB / 0.745 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.591, allocations: 28.67 kB / 0.745 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.5911, allocations: 22.27 kB / 0.745 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.254e-05/0.5912, allocations: 33.94 kB / 0.7451 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5912, allocations: 1.875 kB / 0.7451 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000205/0.5914, allocations: 102.3 kB / 0.7452 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5914, allocations: 5.812 kB / 0.7452 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5914, allocations: 0.8125 kB / 0.7452 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.5915, allocations: 3.953 kB / 0.7452 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.5916, allocations: 20.78 kB / 0.7452 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5916, allocations: 0.8594 kB / 0.7452 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.318e-05/0.5917, allocations: 13.36 kB / 0.7452 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.5917, allocations: 1.562 kB / 0.7452 GB, free: 107.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 6.484e-05/0.5918, allocations: 115.1 kB / 0.7453 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.5918, allocations: 6.844 kB / 0.7453 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.5921, allocations: 109.1 kB / 0.7454 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5921, allocations: 5.266 kB / 0.7455 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5921, allocations: 3.844 kB / 0.7455 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5921, allocations: 0 / 0.7455 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.5923, allocations: 188.4 kB / 0.7456 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5923, allocations: 4.375 kB / 0.7456 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.663e-05/0.5924, allocations: 13.8 kB / 0.7457 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5924, allocations: 0 / 0.7457 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.5924, allocations: 1.062 kB / 0.7457 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5924, allocations: 0 / 0.7457 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.5924, allocations: 7.531 kB / 0.7457 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.5926, allocations: 198.8 kB / 0.7459 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.5927, allocations: 82.02 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.5927, allocations: 1.906 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.5928, allocations: 7.141 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.5928, allocations: 9.031 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.5928, allocations: 11.66 kB / 0.746 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.514e-05/0.5929, allocations: 100.5 kB / 0.7461 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5929, allocations: 0 / 0.7461 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002456/0.5932, allocations: 26.28 kB / 0.7461 GB, free: 107.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004718/0.5936, allocations: 0.7424 MB / 0.7468 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.5938, allocations: 70.8 kB / 0.7469 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5938, allocations: 0 / 0.7469 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.864e-05/0.5939, allocations: 38.31 kB / 0.7469 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.5942, allocations: 15.61 kB / 0.7469 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.5947, allocations: 428.4 kB / 0.7473 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.5949, allocations: 0.6964 MB / 0.748 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.002e-05/0.5949, allocations: 8.953 kB / 0.748 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.595, allocations: 25.3 kB / 0.748 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.595, allocations: 3.562 kB / 0.748 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.6077, allocations: 1.992 MB / 0.75 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/0.6078, allocations: 206.7 kB / 0.7502 GB, free: 105 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.296, allocations: 0 / 0.7502 GB, free: 105 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)