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.759/0.759, 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.001237/0.001237, allocations: 178 kB / 173.7 MB, free: 6.137 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.65/1.65, allocations: 205.4 MB / 409 MB, free: 10.53 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.0008748/0.0008748, allocations: 86.92 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 13.03 kB / 0.5605 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1526, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.2942, allocations: 107.2 MB / 0.7401 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.2945, allocations: 103.9 kB / 0.7402 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3286/0.6231, allocations: 7.017 MB / 0.7471 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6231, allocations: 0 / 0.7471 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.6232, allocations: 5 kB / 0.7471 GB, free: 108.1 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009611/0.6241, allocations: 0.7878 MB / 0.7479 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.6242, allocations: 9.688 kB / 0.7479 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.368e-05/0.6243, allocations: 55.02 kB / 0.7479 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/0.6243, allocations: 32.31 kB / 0.748 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.6248, allocations: 310.7 kB / 0.7483 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.6248, allocations: 21.59 kB / 0.7483 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.6248, allocations: 18.94 kB / 0.7483 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006076/0.6255, allocations: 306 kB / 0.7486 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.6255, allocations: 4 kB / 0.7486 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.6255, allocations: 15.08 kB / 0.7486 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.6255, allocations: 7.453 kB / 0.7486 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006853/0.6262, allocations: 299.5 kB / 0.7489 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.6275, allocations: 0.7293 MB / 0.7496 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/0.628, allocations: 258.4 kB / 0.7499 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.6281, allocations: 4 kB / 0.7499 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.6281, allocations: 33.78 kB / 0.7499 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.6281, allocations: 0 / 0.7499 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.001403/0.6295, allocations: 0.9585 MB / 0.7508 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.6296, allocations: 139.4 kB / 0.751 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.6299, allocations: 336.3 kB / 0.7513 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.63, allocations: 39.48 kB / 0.7513 GB, free: 106 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.6301, allocations: 165 kB / 0.7515 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.6301, allocations: 48.52 kB / 0.7515 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.6301, allocations: 2.812 kB / 0.7515 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.6302, allocations: 343.7 kB / 0.7519 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/0.6307, allocations: 247.8 kB / 0.7521 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.6311, allocations: 246.6 kB / 0.7523 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/0.6316, allocations: 415 kB / 0.7527 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6316, allocations: 4 kB / 0.7527 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001103/0.6327, allocations: 0.7467 MB / 0.7535 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.021e-05/0.6328, allocations: 184.6 kB / 0.7536 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6328, allocations: 0 / 0.7536 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.6328, allocations: 1.188 kB / 0.7536 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.633, allocations: 47.45 kB / 0.7537 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.633, allocations: 1.312 kB / 0.7537 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.6333, allocations: 55.45 kB / 0.7537 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.6333, allocations: 15.52 kB / 0.7537 GB, free: 104.9 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: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked 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.0001925/0.6335, allocations: 255.2 kB / 0.754 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.6336, allocations: 30.75 kB / 0.754 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.6337, allocations: 29.66 kB / 0.754 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6337, allocations: 1.891 kB / 0.754 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6337, allocations: 5.328 kB / 0.7541 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.6337, allocations: 0.75 kB / 0.7541 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.6341, allocations: 346.5 kB / 0.7544 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6341, allocations: 0 / 0.7544 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.6343, allocations: 39.38 kB / 0.7544 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.6343, allocations: 2.172 kB / 0.7544 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.6343, allocations: 8.75 kB / 0.7544 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6343, allocations: 2.172 kB / 0.7544 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6343, allocations: 3.938 kB / 0.7544 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/0.6353, allocations: 0.6506 MB / 0.7551 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.6354, allocations: 115 kB / 0.7552 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.6354, allocations: 4.375 kB / 0.7552 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.6357, allocations: 43.22 kB / 0.7552 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.6358, allocations: 26.86 kB / 0.7553 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.6358, allocations: 8.297 kB / 0.7553 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000296/0.6361, allocations: 267.7 kB / 0.7555 GB, free: 104 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6361, allocations: 0 / 0.7555 GB, free: 104 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005964/0.6367, allocations: 128.9 kB / 0.7556 GB, free: 104 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: 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) * Number of clocked states: 0 () * 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.001604/0.6383, allocations: 1.39 MB / 0.757 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.6395, allocations: 0.8579 MB / 0.7578 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6395, allocations: 0 / 0.7578 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.64, allocations: 394.5 kB / 0.7582 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.6404, allocations: 62.3 kB / 0.7583 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.6419, allocations: 1.013 MB / 0.7593 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.6422, allocations: 0.798 MB / 0.76 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.129e-05/0.6423, allocations: 22.09 kB / 0.7601 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.6424, allocations: 86.23 kB / 0.7601 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of SimCode: time 5.51e-07/0.6424, allocations: 0 / 0.7601 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.668, allocations: 9.743 MB / 0.7697 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/0.6682, allocations: 229.5 kB / 0.7699 GB, free: 97.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/2.871, allocations: 2.953 kB / 0.7699 GB, free: 97.67 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)