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.7432/0.7432, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001383/0.001383, allocations: 184.8 kB / 169.7 MB, free: 1.746 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.992/1.992, allocations: 205.1 MB / 404.5 MB, free: 1.68 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.001245/0.001245, allocations: 86.19 kB / 481.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.599e-05/4.627e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1891, allocations: 76.76 MB / 0.6283 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6295/0.8187, allocations: 104.6 MB / 0.7304 GB, free: 8.867 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.819, allocations: 87.31 kB / 0.7304 GB, free: 8.816 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01631/0.8353, allocations: 5.555 MB / 0.7359 GB, free: 4.109 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.8353, allocations: 4 kB / 0.7359 GB, free: 4.105 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.8354, allocations: 0 / 0.7359 GB, free: 4.105 MB / 490.7 MB 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.0005319/0.8359, allocations: 406.3 kB / 0.7363 GB, free: 3.672 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.836, allocations: 16.02 kB / 0.7363 GB, free: 3.656 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.836, allocations: 30.56 kB / 0.7363 GB, free: 3.617 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.8362, allocations: 11.86 kB / 0.7363 GB, free: 3.605 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.8364, allocations: 190.9 kB / 0.7365 GB, free: 3.383 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.8364, allocations: 4 kB / 0.7365 GB, free: 3.379 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.8365, allocations: 3.938 kB / 0.7365 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.8366, allocations: 57.08 kB / 0.7366 GB, free: 3.324 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.8366, allocations: 4 kB / 0.7366 GB, free: 3.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.8367, allocations: 0 / 0.7366 GB, free: 3.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.8367, allocations: 7.953 kB / 0.7366 GB, free: 3.312 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.806e-05/0.8368, allocations: 22.48 kB / 0.7366 GB, free: 3.297 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.8374, allocations: 315.8 kB / 0.7369 GB, free: 2.961 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.8375, allocations: 44.83 kB / 0.7369 GB, free: 2.918 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.8376, allocations: 20.48 kB / 0.737 GB, free: 2.898 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.8376, allocations: 7.422 kB / 0.737 GB, free: 2.895 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.8376, allocations: 34.52 kB / 0.737 GB, free: 2.852 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.8376, allocations: 0 / 0.737 GB, free: 2.852 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002669/0.8379, allocations: 67.66 kB / 0.7371 GB, free: 2.789 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.838, allocations: 55.34 kB / 0.7371 GB, free: 2.723 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.8381, allocations: 126.2 kB / 0.7372 GB, free: 2.602 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.8381, allocations: 25.7 kB / 0.7373 GB, free: 2.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.8382, allocations: 86.52 kB / 0.7373 GB, free: 2.488 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.8383, allocations: 23.3 kB / 0.7374 GB, free: 2.469 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.8383, allocations: 0 / 0.7374 GB, free: 2.469 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.8384, allocations: 317.7 kB / 0.7377 GB, free: 2.152 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.57e-05/0.8385, allocations: 14.94 kB / 0.7377 GB, free: 2.145 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.8385, allocations: 15.44 kB / 0.7377 GB, free: 2.133 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.513e-05/0.8386, allocations: 19.73 kB / 0.7377 GB, free: 2.117 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8386, allocations: 0 / 0.7377 GB, free: 2.117 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001349/0.8387, allocations: 70.41 kB / 0.7378 GB, free: 2.055 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.8388, allocations: 8 kB / 0.7378 GB, free: 2.047 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.8388, allocations: 3.953 kB / 0.7378 GB, free: 2.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.8388, allocations: 0 / 0.7378 GB, free: 2.043 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.839, allocations: 19.92 kB / 0.7378 GB, free: 2.023 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.839, allocations: 0 / 0.7378 GB, free: 2.023 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.527e-05/0.839, allocations: 11.89 kB / 0.7378 GB, free: 2.012 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.8391, allocations: 11.44 kB / 0.7378 GB, free: 2.004 MB / 490.7 MB 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 () * 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 9.225e-05/0.8392, allocations: 105 kB / 0.7379 GB, free: 1.895 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.8392, allocations: 4 kB / 0.7379 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.8394, allocations: 85.41 kB / 0.738 GB, free: 1.816 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.8394, allocations: 3.953 kB / 0.738 GB, free: 1.812 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.8395, allocations: 0 / 0.738 GB, free: 1.812 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.8395, allocations: 4 kB / 0.738 GB, free: 1.809 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.8397, allocations: 186.4 kB / 0.7382 GB, free: 1.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8397, allocations: 4 kB / 0.7382 GB, free: 1.586 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.595e-05/0.8398, allocations: 12 kB / 0.7382 GB, free: 1.574 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/0.8398, allocations: 3.984 kB / 0.7382 GB, free: 1.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.8398, allocations: 11.88 kB / 0.7382 GB, free: 1.559 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.8398, allocations: 0 / 0.7382 GB, free: 1.559 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8399, allocations: 3.953 kB / 0.7382 GB, free: 1.555 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.8401, allocations: 165.9 kB / 0.7384 GB, free: 1.391 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.8401, allocations: 92.39 kB / 0.7385 GB, free: 1.285 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.8402, allocations: 4 kB / 0.7385 GB, free: 1.281 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.8403, allocations: 11.98 kB / 0.7385 GB, free: 1.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.8403, allocations: 3.953 kB / 0.7385 GB, free: 1.266 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.8404, allocations: 7.984 kB / 0.7385 GB, free: 1.258 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.655e-05/0.8404, allocations: 98.28 kB / 0.7386 GB, free: 1.168 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8404, allocations: 0 / 0.7386 GB, free: 1.168 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000238/0.8407, allocations: 27.31 kB / 0.7386 GB, free: 1.145 MB / 490.7 MB 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 () * 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.0006753/0.8414, allocations: 0.72 MB / 0.7393 GB, free: 424 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.8416, allocations: 41.67 kB / 0.7394 GB, free: 392 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8416, allocations: 0 / 0.7394 GB, free: 392 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.365e-05/0.8416, allocations: 22.38 kB / 0.7394 GB, free: 376 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.8419, allocations: 15.17 kB / 0.7394 GB, free: 364 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.8424, allocations: 140.8 kB / 0.7395 GB, free: 196 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.8428, allocations: 0.696 MB / 0.7402 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.707e-05/0.8429, allocations: 8.172 kB / 0.7402 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.8429, allocations: 22.3 kB / 0.7402 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of SimCode: time 2.41e-07/0.8429, allocations: 4 kB / 0.7403 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.86, allocations: 1.99 MB / 0.7422 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.8603, allocations: 179.2 kB / 0.7424 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.485, allocations: 0 / 0.7424 GB, free: 13.38 MB / 0.4948 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)