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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009601/0.00096, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001076/0.001076, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.062/1.062, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003614, allocations: 8 kB / 0.5159 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1982, allocations: 83.42 MB / 0.5974 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00259/0.2009, allocations: 1.718 MB / 0.5991 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.2027, allocations: 1.077 MB / 0.6001 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2029, allocations: 8 kB / 0.6001 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.2032, allocations: 95.58 kB / 0.6002 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.906e-05/0.2033, allocations: 43.86 kB / 0.6002 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.2039, allocations: 178.8 kB / 0.6004 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.2042, allocations: 171.7 kB / 0.6006 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.2043, allocations: 76.25 kB / 0.6007 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.777e-05/0.2044, allocations: 75.64 kB / 0.6007 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.2046, allocations: 107.5 kB / 0.6008 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.2046, allocations: 8 kB / 0.6008 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.2049, allocations: 171.8 kB / 0.601 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.211e-05/0.205, allocations: 83.72 kB / 0.6011 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.2051, allocations: 69.58 kB / 0.6011 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.2055, allocations: 439.1 kB / 0.6016 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2055, allocations: 0 / 0.6016 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2055, allocations: 0 / 0.6016 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2055, allocations: 0 / 0.6016 GB, free: 3.426 MB / 0.4981 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.00107/0.2066, allocations: 0.7698 MB / 0.6023 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2067, allocations: 12.02 kB / 0.6023 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.398e-05/0.2067, allocations: 50.52 kB / 0.6024 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.2068, allocations: 31.62 kB / 0.6024 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.2072, allocations: 319.2 kB / 0.6027 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.2073, allocations: 12.28 kB / 0.6027 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.2073, allocations: 20 kB / 0.6027 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005669/0.2079, allocations: 306.9 kB / 0.603 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2079, allocations: 0 / 0.603 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.2079, allocations: 12 kB / 0.603 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.2079, allocations: 7.953 kB / 0.6031 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006273/0.2086, allocations: 296.9 kB / 0.6033 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009401/0.2095, allocations: 0.6833 MB / 0.604 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005304/0.2101, allocations: 254.5 kB / 0.6042 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.2101, allocations: 0 / 0.6042 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.2101, allocations: 34.56 kB / 0.6043 GB, free: 448 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.183e-06/0.2101, allocations: 0 / 0.6043 GB, free: 448 kB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.376/0.5861, allocations: 0.9427 MB / 0.6052 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.5862, allocations: 135.5 kB / 0.6053 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004071/0.5866, allocations: 382.5 kB / 0.6057 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.5867, allocations: 32.14 kB / 0.6057 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.5868, allocations: 164.8 kB / 0.6059 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.5868, allocations: 48.89 kB / 0.6059 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/0.5868, allocations: 2.781 kB / 0.6059 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.5869, allocations: 339.6 kB / 0.6063 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.5873, allocations: 258.5 kB / 0.6065 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.5877, allocations: 254.2 kB / 0.6067 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.5882, allocations: 417 kB / 0.6071 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5882, allocations: 5.125 kB / 0.6071 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009705/0.5892, allocations: 0.7658 MB / 0.6079 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/0.5893, allocations: 183.7 kB / 0.6081 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5893, allocations: 0 / 0.6081 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.5893, allocations: 1.594 kB / 0.6081 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.5895, allocations: 37.72 kB / 0.6081 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.5895, allocations: 3.453 kB / 0.6081 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.5897, allocations: 56.39 kB / 0.6082 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.5898, allocations: 12.92 kB / 0.6082 GB, free: 39.36 MB / 0.4981 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.0001849/0.59, allocations: 256.4 kB / 0.6084 GB, free: 39.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.59, allocations: 30.66 kB / 0.6084 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.5901, allocations: 29.12 kB / 0.6085 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.5901, allocations: 3.844 kB / 0.6085 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5901, allocations: 3.516 kB / 0.6085 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5901, allocations: 6.562 kB / 0.6085 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.5904, allocations: 346.5 kB / 0.6088 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5904, allocations: 3.438 kB / 0.6088 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.5906, allocations: 32.44 kB / 0.6089 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5906, allocations: 0 / 0.6089 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.5906, allocations: 12.12 kB / 0.6089 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5906, allocations: 3.75 kB / 0.6089 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5906, allocations: 0.5 kB / 0.6089 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008447/0.5915, allocations: 0.6502 MB / 0.6095 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.636e-05/0.5915, allocations: 111.9 kB / 0.6096 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.5916, allocations: 6.359 kB / 0.6096 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.5918, allocations: 46.53 kB / 0.6097 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.5919, allocations: 25.47 kB / 0.6097 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.592, allocations: 8.75 kB / 0.6097 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002408/0.5922, allocations: 267.6 kB / 0.6099 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5922, allocations: 8.344 kB / 0.61 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004179/0.5926, allocations: 100.3 kB / 0.6101 GB, free: 38.5 MB / 0.4981 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.001242/0.5939, allocations: 1.25 MB / 0.6113 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009748/0.5949, allocations: 0.8632 MB / 0.6121 GB, free: 37.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5949, allocations: 0 / 0.6121 GB, free: 37.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.5953, allocations: 395.1 kB / 0.6125 GB, free: 37.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.5957, allocations: 68.23 kB / 0.6126 GB, free: 37.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.5969, allocations: 0.9957 MB / 0.6135 GB, free: 36.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.5971, allocations: 0.7959 MB / 0.6143 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.417e-05/0.5972, allocations: 22.17 kB / 0.6143 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.5973, allocations: 82.39 kB / 0.6144 GB, free: 35.94 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.5973, allocations: 4 kB / 0.6144 GB, free: 35.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.6157, allocations: 8.069 MB / 0.6223 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/0.6159, allocations: 231.9 kB / 0.6225 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.492, allocations: 0 / 0.6225 GB, free: 35.26 MB / 0.4981 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) Environment - environmentSimulation: