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.0009431/0.0009431, 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.0009554/0.0009554, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.9534/0.9534, allocations: 230.6 MB / 256 MB, free: 9.816 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.7843/0.7843, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.001147/0.001147, allocations: 71 kB / 0.7183 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4881/0.4893, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002459/0.4918, allocations: 2.144 MB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.4931, allocations: 1.231 MB / 0.8212 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.4932, allocations: 2.406 kB / 0.8212 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.4936, allocations: 118.9 kB / 0.8213 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.438e-05/0.4937, allocations: 54.41 kB / 0.8213 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.4942, allocations: 256.4 kB / 0.8216 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.4945, allocations: 306.7 kB / 0.8219 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.4947, allocations: 69.69 kB / 0.8219 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.655e-05/0.4948, allocations: 113 kB / 0.8221 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.4949, allocations: 133.2 kB / 0.8222 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.4949, allocations: 27.09 kB / 0.8222 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.4953, allocations: 256.7 kB / 0.8224 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.119e-05/0.4954, allocations: 94.77 kB / 0.8225 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.4955, allocations: 147.9 kB / 0.8227 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.496, allocations: 0.5557 MB / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.496, allocations: 0 / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.496, allocations: 0 / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.496, allocations: 1.5 kB / 0.8232 GB, free: 14.02 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.0008499/0.4969, allocations: 0.7521 MB / 0.824 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.4969, allocations: 10 kB / 0.824 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.4969, allocations: 52.47 kB / 0.824 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.497, allocations: 37.08 kB / 0.8241 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.4973, allocations: 263.2 kB / 0.8243 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.4973, allocations: 16.84 kB / 0.8243 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.4974, allocations: 17.03 kB / 0.8243 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.4978, allocations: 292.2 kB / 0.8246 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4978, allocations: 1.375 kB / 0.8246 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.4978, allocations: 6.625 kB / 0.8246 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4978, allocations: 3.938 kB / 0.8246 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.4982, allocations: 272.3 kB / 0.8249 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008016/0.499, allocations: 0.6335 MB / 0.8255 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.4994, allocations: 224.1 kB / 0.8257 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.4996, allocations: 182.9 kB / 0.8259 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.4997, allocations: 6.047 kB / 0.8259 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.4997, allocations: 32.91 kB / 0.8259 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 3.096e-06/0.4997, allocations: 7.922 kB / 0.8259 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0009131/0.5006, allocations: 0.678 MB / 0.8266 GB, free: 12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.5007, allocations: 138.5 kB / 0.8267 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.501, allocations: 380.2 kB / 0.8271 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.501, allocations: 28.73 kB / 0.8271 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.922e-05/0.5011, allocations: 170.8 kB / 0.8273 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.5011, allocations: 41.61 kB / 0.8273 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.5012, allocations: 47.31 kB / 0.8274 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5013, allocations: 352 kB / 0.8277 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.5016, allocations: 238.3 kB / 0.8279 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.5019, allocations: 234.6 kB / 0.8282 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006471/0.5026, allocations: 0.6778 MB / 0.8288 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5026, allocations: 1.531 kB / 0.8288 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007325/0.5033, allocations: 0.7329 MB / 0.8295 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.861e-05/0.5034, allocations: 183.8 kB / 0.8297 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5034, allocations: 0.5156 kB / 0.8297 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5034, allocations: 1.062 kB / 0.8297 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.5035, allocations: 31.66 kB / 0.8297 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5035, allocations: 1.031 kB / 0.8297 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.5036, allocations: 50.03 kB / 0.8298 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.5037, allocations: 11.06 kB / 0.8298 GB, free: 9.93 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.0002006/0.5039, allocations: 262.7 kB / 0.8301 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.5039, allocations: 30.56 kB / 0.8301 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.504, allocations: 28.44 kB / 0.8301 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.504, allocations: 2.219 kB / 0.8301 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.504, allocations: 4.531 kB / 0.8301 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.504, allocations: 0.6562 kB / 0.8301 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.5043, allocations: 313.8 kB / 0.8304 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5043, allocations: 0 / 0.8304 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-05/0.5044, allocations: 36.33 kB / 0.8305 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5044, allocations: 4.438 kB / 0.8305 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.5044, allocations: 4.906 kB / 0.8305 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.5044, allocations: 0.5 kB / 0.8305 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5044, allocations: 1.156 kB / 0.8305 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007904/0.5052, allocations: 0.6197 MB / 0.8311 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.5053, allocations: 44.47 kB / 0.8311 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.5053, allocations: 3.406 kB / 0.8311 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.5054, allocations: 30.27 kB / 0.8311 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.5055, allocations: 25.8 kB / 0.8312 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.5055, allocations: 8.531 kB / 0.8312 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000243/0.5058, allocations: 271.7 kB / 0.8314 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5058, allocations: 0.9375 kB / 0.8314 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003259/0.5061, allocations: 111 kB / 0.8315 GB, free: 8.855 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.001093/0.5072, allocations: 1.213 MB / 0.8327 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007946/0.508, allocations: 0.8212 MB / 0.8335 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.508, allocations: 1.188 kB / 0.8335 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.5083, allocations: 361 kB / 0.8339 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.5086, allocations: 69.16 kB / 0.8339 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004792/0.5134, allocations: 4.445 MB / 0.8383 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.5137, allocations: 0.7871 MB / 0.839 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.978e-05/0.5138, allocations: 20.41 kB / 0.8391 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.5139, allocations: 90.22 kB / 0.8392 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.5139, allocations: 1.062 kB / 0.8392 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.537, allocations: 8.898 MB / 0.8478 GB, free: 192 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/7.965, allocations: 6.391 kB / 0.8478 GB, free: 188 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.86771727190353] Failed to read output from testmodel.py, exit status != 0: 8.04439043183811 8.054092307 7.556107188 Calling exit ...