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.0008007/0.0008007, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0008206/0.0008206, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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.8598/0.8598, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.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.6861/0.6861, allocations: 154.5 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.652e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002302/0.002318, allocations: 2.031 MB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.003596, allocations: 1.145 MB / 0.6212 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.003679, allocations: 4 kB / 0.6212 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.004011, allocations: 111.3 kB / 0.6213 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.004082, allocations: 55.52 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.004592, allocations: 266.6 kB / 0.6216 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000284/0.004876, allocations: 307.2 kB / 0.6219 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.005003, allocations: 63.52 kB / 0.6219 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.005117, allocations: 155.7 kB / 0.6221 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.005233, allocations: 107.7 kB / 0.6222 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.005263, allocations: 28 kB / 0.6222 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.005519, allocations: 235.7 kB / 0.6224 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.944e-05/0.005598, allocations: 91.69 kB / 0.6225 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.263e-05/0.005671, allocations: 99.75 kB / 0.6226 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.0061, allocations: 0.6037 MB / 0.6232 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.006103, allocations: 7.984 kB / 0.6232 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.12e-07/0.006104, allocations: 4 kB / 0.6232 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.006108, allocations: 0 / 0.6232 GB, free: 8.402 MB / 0.5886 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.0007474/0.006856, allocations: 0.7369 MB / 0.6239 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.006892, allocations: 9.469 kB / 0.624 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.00693, allocations: 54.73 kB / 0.624 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.006975, allocations: 36.7 kB / 0.624 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.007242, allocations: 266 kB / 0.6243 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.007256, allocations: 16.59 kB / 0.6243 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.007277, allocations: 20.38 kB / 0.6243 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.007676, allocations: 381.2 kB / 0.6247 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.007684, allocations: 192 / 0.6247 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.007701, allocations: 12.12 kB / 0.6247 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.007707, allocations: 7.938 kB / 0.6247 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.008088, allocations: 357.5 kB / 0.6251 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006528/0.008741, allocations: 0.5703 MB / 0.6256 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.009114, allocations: 315.7 kB / 0.6259 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.009357, allocations: 273.8 kB / 0.6262 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.009375, allocations: 7.938 kB / 0.6262 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.009393, allocations: 30.56 kB / 0.6262 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.009395, allocations: 0 / 0.6262 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0008358/0.01023, allocations: 0.8443 MB / 0.627 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.01028, allocations: 136.5 kB / 0.6272 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.01054, allocations: 388.4 kB / 0.6275 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.01056, allocations: 29.7 kB / 0.6276 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.01064, allocations: 168.5 kB / 0.6277 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.01067, allocations: 43.64 kB / 0.6278 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/0.01073, allocations: 45.7 kB / 0.6278 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.209e-05/0.01081, allocations: 342.8 kB / 0.6281 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.01112, allocations: 418 kB / 0.6285 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.01146, allocations: 426 kB / 0.6289 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005306/0.01199, allocations: 0.7024 MB / 0.6296 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.012, allocations: 0 / 0.6296 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007242/0.01272, allocations: 0.9194 MB / 0.6305 GB, free: 360 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.59e-05/0.0128, allocations: 186.2 kB / 0.6307 GB, free: 136 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.0128, allocations: 0 / 0.6307 GB, free: 136 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.01281, allocations: 0 / 0.6307 GB, free: 136 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.502e-05/0.0129, allocations: 31.91 kB / 0.6307 GB, free: 104 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.0129, allocations: 4 kB / 0.6307 GB, free: 100 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.01301, allocations: 43.81 kB / 0.6308 GB, free: 56 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.01302, allocations: 15.98 kB / 0.6308 GB, free: 40 kB / 0.5886 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.0001502/0.01317, allocations: 251.9 kB / 0.631 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.01321, allocations: 35.75 kB / 0.6311 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.01324, allocations: 26.88 kB / 0.6311 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01324, allocations: 0 / 0.6311 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.01325, allocations: 3.984 kB / 0.6311 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01325, allocations: 4 kB / 0.6311 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.01345, allocations: 276.4 kB / 0.6314 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01345, allocations: 0 / 0.6314 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.01352, allocations: 31.97 kB / 0.6314 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01352, allocations: 0 / 0.6314 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.01353, allocations: 4 kB / 0.6314 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01354, allocations: 4 kB / 0.6314 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01354, allocations: 11.88 kB / 0.6314 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005619/0.0141, allocations: 0.7117 MB / 0.6321 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.01413, allocations: 35.73 kB / 0.6321 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.01416, allocations: 8 kB / 0.6322 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.01426, allocations: 27.97 kB / 0.6322 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/0.01435, allocations: 23.97 kB / 0.6322 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.01436, allocations: 7.984 kB / 0.6322 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001776/0.01454, allocations: 275 kB / 0.6325 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.01454, allocations: 0 / 0.6325 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002515/0.01479, allocations: 107.8 kB / 0.6326 GB, free: 14.09 MB / 0.6042 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.0008639/0.01565, allocations: 1.319 MB / 0.6339 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008017/0.01646, allocations: 1.089 MB / 0.6349 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01646, allocations: 0 / 0.6349 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.01676, allocations: 459.2 kB / 0.6354 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.01708, allocations: 71.34 kB / 0.6354 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.02088, allocations: 5.284 MB / 0.6406 GB, free: 5.355 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.021, allocations: 178.1 kB / 0.6408 GB, free: 5.164 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.844e-05/0.02106, allocations: 29.88 kB / 0.6408 GB, free: 5.129 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.471e-05/0.02115, allocations: 92.47 kB / 0.6409 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of SimCode: time 8.22e-07/0.02115, allocations: 0 / 0.6409 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.04179, allocations: 9.885 MB / 0.6505 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/7.47, allocations: 11.11 kB / 0.6505 GB, free: 11.46 MB / 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.111492838710546] Failed to read output from testmodel.py, exit status != 0: 7.553974354639649 7.564418774 7.556561562 Calling exit ...