Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008221/0.0008221, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008367/0.0008367, allocations: 222.9 kB / 22.26 MB, free: 3.691 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9068/0.9068, allocations: 230.6 MB / 256 MB, free: 9.797 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7589/0.7589, allocations: 203.8 MB / 0.5042 GB, free: 10.72 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009286/0.0009286, allocations: 70.45 kB / 0.7183 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5132/0.5141, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002521/0.5166, allocations: 2.145 MB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.5181, allocations: 1.233 MB / 0.8212 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.077e-05/0.5182, allocations: 2.438 kB / 0.8212 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.5185, allocations: 118.1 kB / 0.8213 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.585e-05/0.5186, allocations: 51.12 kB / 0.8213 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.5192, allocations: 263.4 kB / 0.8216 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000316/0.5196, allocations: 305.4 kB / 0.8219 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.5197, allocations: 63.03 kB / 0.8219 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.5198, allocations: 108.6 kB / 0.822 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.52, allocations: 131.2 kB / 0.8222 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.52, allocations: 34.06 kB / 0.8222 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.5204, allocations: 255.9 kB / 0.8224 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.5205, allocations: 89.66 kB / 0.8225 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.5207, allocations: 161.8 kB / 0.8227 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007855/0.5215, allocations: 0.5548 MB / 0.8232 GB, free: 14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.5215, allocations: 0 / 0.8232 GB, free: 14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.745e-06/0.5215, allocations: 3.688 kB / 0.8232 GB, free: 14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.5215, allocations: 0 / 0.8232 GB, free: 14 MB / 0.6198 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.0009843/0.5225, allocations: 0.7457 MB / 0.824 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.5225, allocations: 10.42 kB / 0.824 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.5226, allocations: 53.81 kB / 0.824 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.5227, allocations: 36.67 kB / 0.8241 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.523, allocations: 257.6 kB / 0.8243 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.523, allocations: 13.22 kB / 0.8243 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.5231, allocations: 16.75 kB / 0.8243 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004968/0.5236, allocations: 300.8 kB / 0.8246 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.5236, allocations: 1.312 kB / 0.8246 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.5236, allocations: 6.562 kB / 0.8246 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5236, allocations: 3.281 kB / 0.8246 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.524, allocations: 265.4 kB / 0.8249 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008186/0.5248, allocations: 0.6364 MB / 0.8255 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.5252, allocations: 226.6 kB / 0.8257 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.5255, allocations: 186.6 kB / 0.8259 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.5255, allocations: 1.312 kB / 0.8259 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.5255, allocations: 39.5 kB / 0.8259 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.5255, allocations: 3.844 kB / 0.8259 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0008923/0.5264, allocations: 0.6708 MB / 0.8266 GB, free: 12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.5265, allocations: 136.2 kB / 0.8267 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.5268, allocations: 379.5 kB / 0.8271 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.5269, allocations: 36.48 kB / 0.8271 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.527, allocations: 170.2 kB / 0.8273 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.527, allocations: 46.47 kB / 0.8273 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.717e-05/0.5271, allocations: 47.27 kB / 0.8274 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5272, allocations: 344 kB / 0.8277 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.5275, allocations: 233.8 kB / 0.8279 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.5278, allocations: 244.4 kB / 0.8282 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006562/0.5284, allocations: 0.6796 MB / 0.8288 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5284, allocations: 0 / 0.8288 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007816/0.5292, allocations: 0.7301 MB / 0.8295 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.921e-05/0.5293, allocations: 184.5 kB / 0.8297 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5293, allocations: 0 / 0.8297 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.5293, allocations: 1.125 kB / 0.8297 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.5294, allocations: 32.38 kB / 0.8297 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5295, allocations: 1 kB / 0.8297 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.5296, allocations: 45.95 kB / 0.8298 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.5296, allocations: 10.81 kB / 0.8298 GB, free: 9.926 MB / 0.6198 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.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000205/0.5298, allocations: 258.3 kB / 0.83 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.5299, allocations: 35.23 kB / 0.8301 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.903e-05/0.5299, allocations: 28.62 kB / 0.8301 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.5299, allocations: 9.625 kB / 0.8301 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.53, allocations: 0 / 0.8301 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.53, allocations: 1.344 kB / 0.8301 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.5304, allocations: 317.4 kB / 0.8304 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5304, allocations: 0.5312 kB / 0.8304 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.5305, allocations: 28.08 kB / 0.8304 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5305, allocations: 0.6562 kB / 0.8304 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.5305, allocations: 8.391 kB / 0.8305 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.5305, allocations: 0.5938 kB / 0.8305 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5305, allocations: 9.188 kB / 0.8305 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008149/0.5313, allocations: 0.6184 MB / 0.8311 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.5314, allocations: 39.38 kB / 0.8311 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.5314, allocations: 12.53 kB / 0.8311 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.5315, allocations: 25.53 kB / 0.8311 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.5316, allocations: 30.2 kB / 0.8312 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.5316, allocations: 5.688 kB / 0.8312 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002608/0.5319, allocations: 271.1 kB / 0.8314 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5319, allocations: 3.938 kB / 0.8314 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003196/0.5322, allocations: 104 kB / 0.8315 GB, free: 8.852 MB / 0.6198 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001057/0.5333, allocations: 1.216 MB / 0.8327 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008871/0.5342, allocations: 0.8162 MB / 0.8335 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5342, allocations: 1.219 kB / 0.8335 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.5345, allocations: 368.1 kB / 0.8339 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.5348, allocations: 73.91 kB / 0.8339 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/0.5392, allocations: 4.442 MB / 0.8383 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.5395, allocations: 0.7834 MB / 0.839 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.142e-05/0.5396, allocations: 24.36 kB / 0.8391 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.5397, allocations: 90.92 kB / 0.8392 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.5397, allocations: 3.938 kB / 0.8392 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.5634, allocations: 8.897 MB / 0.8478 GB, free: 156 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.242/7.805, allocations: 4.672 kB / 0.8478 GB, free: 156 kB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.65756404795684] Failed to read output from testmodel.py, exit status != 0: 7.889439780963585 7.903981412 7.380445169 Calling exit ...