Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",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.7214/0.7214, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001354/0.001354, allocations: 180.8 kB / 169.7 MB, free: 1.734 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.807/1.807, allocations: 205.1 MB / 404.5 MB, free: 1.57 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.00106/0.00106, allocations: 101.5 kB / 481.8 MB, free: 4.219 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.933e-05/3.937e-05, allocations: 4 kB / 0.5533 GB, free: 54.7 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1553, allocations: 76.76 MB / 0.6283 GB, free: 9.887 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.586/0.7414, allocations: 107.1 MB / 0.7329 GB, free: 6.289 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.7417, allocations: 94.56 kB / 0.733 GB, free: 6.234 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02062/0.7624, allocations: 7.019 MB / 0.7398 GB, free: 148 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7624, allocations: 0 / 0.7398 GB, free: 148 kB / 490.7 MB Notification: Performance of Transformations before backend: time 2.674e-05/0.7625, allocations: 4 kB / 0.7398 GB, free: 144 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001055/0.7635, allocations: 0.7321 MB / 0.7406 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.7636, allocations: 8.031 kB / 0.7406 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.913e-05/0.7637, allocations: 48.69 kB / 0.7406 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.7637, allocations: 39.53 kB / 0.7407 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.7642, allocations: 306.8 kB / 0.7409 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.7642, allocations: 15.28 kB / 0.741 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.7643, allocations: 19.75 kB / 0.741 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.7647, allocations: 260.1 kB / 0.7412 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7647, allocations: 0 / 0.7412 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.7648, allocations: 3.938 kB / 0.7412 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.7648, allocations: 7.953 kB / 0.7412 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.7651, allocations: 205.8 kB / 0.7414 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.7664, allocations: 0.7334 MB / 0.7421 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.7668, allocations: 203 kB / 0.7423 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.767, allocations: 160.2 kB / 0.7425 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.767, allocations: 4 kB / 0.7425 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.7671, allocations: 30.56 kB / 0.7425 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.562e-06/0.7671, allocations: 0 / 0.7425 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0006714/0.7678, allocations: 440.2 kB / 0.7429 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/0.7679, allocations: 139.8 kB / 0.7431 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.7683, allocations: 340.1 kB / 0.7434 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.7683, allocations: 36.95 kB / 0.7434 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.7684, allocations: 157.8 kB / 0.7436 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.2e-05/0.7685, allocations: 51.33 kB / 0.7436 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.7685, allocations: 7.562 kB / 0.7436 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.7687, allocations: 342 kB / 0.744 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.769, allocations: 195 kB / 0.7442 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.7692, allocations: 196.2 kB / 0.7443 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.7696, allocations: 368.2 kB / 0.7447 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7696, allocations: 0 / 0.7447 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007601/0.7704, allocations: 0.6418 MB / 0.7453 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.7705, allocations: 184.6 kB / 0.7455 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.7706, allocations: 0 / 0.7455 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.7706, allocations: 7.938 kB / 0.7455 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.7708, allocations: 39.84 kB / 0.7455 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.7708, allocations: 0 / 0.7455 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.771, allocations: 55.72 kB / 0.7456 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.7711, allocations: 11.25 kB / 0.7456 GB, free: 10.85 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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 0.0001672/0.7713, allocations: 201.5 kB / 0.7458 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.7713, allocations: 31.62 kB / 0.7458 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.775e-05/0.7714, allocations: 25.69 kB / 0.7459 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.7714, allocations: 8 kB / 0.7459 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.7714, allocations: 3.953 kB / 0.7459 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7714, allocations: 0 / 0.7459 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.7718, allocations: 348.3 kB / 0.7462 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7718, allocations: 0 / 0.7462 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.772, allocations: 39.91 kB / 0.7462 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.772, allocations: 3.938 kB / 0.7462 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.772, allocations: 19.36 kB / 0.7463 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.7721, allocations: 0 / 0.7463 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7721, allocations: 0 / 0.7463 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/0.7727, allocations: 0.5525 MB / 0.7468 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.7729, allocations: 111 kB / 0.7469 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.7729, allocations: 4 kB / 0.7469 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.7731, allocations: 43.47 kB / 0.747 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.7733, allocations: 23.91 kB / 0.747 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.7733, allocations: 7.984 kB / 0.747 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003271/0.7736, allocations: 278.3 kB / 0.7472 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.774e-06/0.7737, allocations: 4 kB / 0.7473 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005159/0.7742, allocations: 125.3 kB / 0.7474 GB, free: 9.184 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.001444/0.7756, allocations: 1.267 MB / 0.7486 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008153/0.7765, allocations: 0.7622 MB / 0.7494 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.7765, allocations: 0 / 0.7494 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/0.7768, allocations: 346.3 kB / 0.7497 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.7772, allocations: 63.61 kB / 0.7497 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.7784, allocations: 0.6021 MB / 0.7503 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.7789, allocations: 0.7962 MB / 0.7511 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.783e-05/0.779, allocations: 22.08 kB / 0.7511 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.7791, allocations: 83.16 kB / 0.7512 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.7791, allocations: 0 / 0.7512 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.8048, allocations: 10.02 MB / 0.761 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.8051, allocations: 192.9 kB / 0.7612 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.303, allocations: 3.938 kB / 0.7612 GB, free: 11.55 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)