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.0007761/0.0007761, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.000786/0.000786, allocations: 216 kB / 22.25 MB, free: 3.594 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.9437/0.9437, allocations: 230.6 MB / 256 MB, free: 9.625 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.7719/0.7719, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.0009907/0.0009907, allocations: 71.11 kB / 0.7182 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5308/0.5318, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00285/0.5346, allocations: 2.036 MB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.5361, allocations: 1.143 MB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.5362, allocations: 6.594 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.5366, allocations: 107.4 kB / 0.821 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.867e-05/0.5367, allocations: 47.31 kB / 0.8211 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006432/0.5373, allocations: 269.7 kB / 0.8213 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.5376, allocations: 295.4 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.5377, allocations: 65.47 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.296e-05/0.5378, allocations: 106 kB / 0.8218 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.538, allocations: 117.3 kB / 0.8219 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.538, allocations: 27.31 kB / 0.8219 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.5383, allocations: 243.2 kB / 0.8221 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.439e-05/0.5384, allocations: 100.7 kB / 0.8222 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.991e-05/0.5385, allocations: 116.1 kB / 0.8223 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.5391, allocations: 0.5626 MB / 0.8229 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5391, allocations: 1.562 kB / 0.8229 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5391, allocations: 0 / 0.8229 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.5391, allocations: 0 / 0.8229 GB, free: 14.07 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.000922/0.54, allocations: 0.7493 MB / 0.8236 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.5401, allocations: 9.062 kB / 0.8236 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.5401, allocations: 53.08 kB / 0.8237 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.5402, allocations: 38.2 kB / 0.8237 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.5405, allocations: 258.8 kB / 0.824 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.5405, allocations: 16.41 kB / 0.824 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.5405, allocations: 16.91 kB / 0.824 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.541, allocations: 380.7 kB / 0.8244 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.541, allocations: 4 kB / 0.8244 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.541, allocations: 10.62 kB / 0.8244 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.5411, allocations: 7.953 kB / 0.8244 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/0.5415, allocations: 361.1 kB / 0.8247 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007263/0.5422, allocations: 0.5754 MB / 0.8253 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.5426, allocations: 314.4 kB / 0.8256 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.5429, allocations: 271.2 kB / 0.8259 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.5429, allocations: 5.438 kB / 0.8259 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.5429, allocations: 32.92 kB / 0.8259 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.224e-06/0.5429, allocations: 0.5938 kB / 0.8259 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0009304/0.5439, allocations: 0.852 MB / 0.8267 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.5439, allocations: 135.8 kB / 0.8269 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.5443, allocations: 380.5 kB / 0.8272 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.5443, allocations: 32.5 kB / 0.8272 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.291e-05/0.5444, allocations: 173.8 kB / 0.8274 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.5444, allocations: 46.88 kB / 0.8275 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/0.5445, allocations: 51.88 kB / 0.8275 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.5446, allocations: 343.5 kB / 0.8278 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.5449, allocations: 421.4 kB / 0.8282 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.5453, allocations: 427.5 kB / 0.8286 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005975/0.5459, allocations: 0.6883 MB / 0.8293 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5459, allocations: 1.125 kB / 0.8293 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008863/0.5467, allocations: 0.9238 MB / 0.8302 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.656e-05/0.5468, allocations: 183.7 kB / 0.8304 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5469, allocations: 0.5 kB / 0.8304 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.5469, allocations: 1.797 kB / 0.8304 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.547, allocations: 31.28 kB / 0.8304 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.547, allocations: 1.188 kB / 0.8304 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.5471, allocations: 49.73 kB / 0.8305 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.5471, allocations: 7.562 kB / 0.8305 GB, free: 8.805 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.0001853/0.5473, allocations: 262.5 kB / 0.8307 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.5474, allocations: 30.84 kB / 0.8308 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.5474, allocations: 28.02 kB / 0.8308 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5474, allocations: 1.562 kB / 0.8308 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5474, allocations: 5.109 kB / 0.8308 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5474, allocations: 1.156 kB / 0.8308 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005579/0.548, allocations: 272.7 kB / 0.8311 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.548, allocations: 1 kB / 0.8311 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.344e-05/0.5481, allocations: 27.48 kB / 0.8311 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5481, allocations: 1.156 kB / 0.8311 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.5481, allocations: 8.328 kB / 0.8311 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5481, allocations: 0.9375 kB / 0.8311 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5481, allocations: 0 / 0.8311 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006737/0.5488, allocations: 0.7141 MB / 0.8318 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.5488, allocations: 43.73 kB / 0.8318 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.5489, allocations: 4.734 kB / 0.8318 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.549, allocations: 32.48 kB / 0.8319 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.5491, allocations: 31.19 kB / 0.8319 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.5491, allocations: 5.703 kB / 0.8319 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00021/0.5493, allocations: 271.5 kB / 0.8322 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5493, allocations: 0 / 0.8322 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004531/0.5497, allocations: 104.1 kB / 0.8323 GB, free: 7.645 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.0009969/0.5507, allocations: 1.306 MB / 0.8335 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008872/0.5516, allocations: 1.08 MB / 0.8346 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5516, allocations: 0 / 0.8346 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.552, allocations: 464.3 kB / 0.835 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.5523, allocations: 70 kB / 0.8351 GB, free: 5.453 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/0.5571, allocations: 5.296 MB / 0.8403 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.5572, allocations: 171.8 kB / 0.8404 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.343e-05/0.5573, allocations: 24 kB / 0.8405 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.5574, allocations: 91.61 kB / 0.8405 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of SimCode: time 1.352e-06/0.5574, allocations: 0 / 0.8405 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.5832, allocations: 9.772 MB / 0.8501 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.105/7.688, allocations: 8.75 kB / 0.8501 GB, free: 13.38 MB / 0.6355 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.716278444975615] Failed to read output from testmodel.py, exit status != 0: 7.766546561848372 7.776647308 7.235556603 Calling exit ...