Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001303/0.001303, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001513/0.001513, allocations: 165.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.406/1.406, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.24/1.24, allocations: 154.6 MB / 413.8 MB, free: 5.215 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.178e-05, allocations: 5.453 kB / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.005597/0.005628, allocations: 2.034 MB / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003309/0.008937, allocations: 1.149 MB / 0.6217 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.009154, allocations: 4 kB / 0.6217 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000713/0.009867, allocations: 103.3 kB / 0.6218 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.01013, allocations: 55.56 kB / 0.6219 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.0114, allocations: 259.4 kB / 0.6221 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006968/0.0121, allocations: 311.1 kB / 0.6224 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.01237, allocations: 67.5 kB / 0.6225 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.0127, allocations: 155.7 kB / 0.6226 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.01298, allocations: 103.8 kB / 0.6227 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.66e-05/0.01307, allocations: 28 kB / 0.6228 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007229/0.01379, allocations: 239.7 kB / 0.623 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.014, allocations: 95.73 kB / 0.6231 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.01421, allocations: 91.78 kB / 0.6232 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.01549, allocations: 0.6153 MB / 0.6238 GB, free: 15.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.0155, allocations: 0 / 0.6238 GB, free: 15.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.0155, allocations: 0 / 0.6238 GB, free: 15.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.126e-05/0.01552, allocations: 4 kB / 0.6238 GB, free: 15.23 MB / 0.545 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.00205/0.01757, allocations: 0.7486 MB / 0.6245 GB, free: 14.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.01762, allocations: 8.031 kB / 0.6245 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.01776, allocations: 36.7 kB / 0.6245 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/0.01843, allocations: 258.1 kB / 0.6248 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.01846, allocations: 12.66 kB / 0.6248 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-05/0.01852, allocations: 16.38 kB / 0.6248 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.01967, allocations: 384.3 kB / 0.6252 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.01969, allocations: 192 / 0.6252 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.01973, allocations: 12.31 kB / 0.6252 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.01974, allocations: 7.938 kB / 0.6252 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.021, allocations: 353.5 kB / 0.6255 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.02256, allocations: 0.5319 MB / 0.6261 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.02356, allocations: 311.7 kB / 0.6264 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007744/0.02433, allocations: 277.8 kB / 0.6266 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.02435, allocations: 0 / 0.6266 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/0.0244, allocations: 46.5 kB / 0.6267 GB, free: 12.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.02441, allocations: 3.938 kB / 0.6267 GB, free: 12.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.002551/0.02696, allocations: 0.844 MB / 0.6275 GB, free: 11.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.02708, allocations: 140.5 kB / 0.6276 GB, free: 10.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006805/0.02776, allocations: 352.5 kB / 0.628 GB, free: 10.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.02781, allocations: 29.7 kB / 0.628 GB, free: 10.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.02801, allocations: 168.5 kB / 0.6281 GB, free: 10.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.454e-05/0.02809, allocations: 51.62 kB / 0.6282 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.02825, allocations: 41.7 kB / 0.6282 GB, free: 10.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002268/0.02848, allocations: 338.8 kB / 0.6286 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009848/0.02946, allocations: 430 kB / 0.629 GB, free: 9.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009453/0.03041, allocations: 418 kB / 0.6294 GB, free: 9.074 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.03214, allocations: 0.6913 MB / 0.63 GB, free: 8.324 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.03214, allocations: 112 / 0.63 GB, free: 8.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002196/0.03434, allocations: 0.9225 MB / 0.6309 GB, free: 7.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001979/0.03454, allocations: 182.2 kB / 0.6311 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.03455, allocations: 3.984 kB / 0.6311 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/0.03457, allocations: 4 kB / 0.6311 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.03486, allocations: 31.91 kB / 0.6312 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.03487, allocations: 0 / 0.6312 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.03526, allocations: 47.75 kB / 0.6312 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.03531, allocations: 8 kB / 0.6312 GB, free: 7.016 MB / 0.545 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.0003986/0.03571, allocations: 255.9 kB / 0.6315 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.03584, allocations: 31.75 kB / 0.6315 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.553e-05/0.03592, allocations: 33.95 kB / 0.6315 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.03593, allocations: 0 / 0.6315 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.03593, allocations: 0 / 0.6315 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.03594, allocations: 0 / 0.6315 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.03645, allocations: 237.2 kB / 0.6317 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.03646, allocations: 4 kB / 0.6317 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.03672, allocations: 31.89 kB / 0.6318 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.03673, allocations: 4 kB / 0.6318 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.03677, allocations: 11.94 kB / 0.6318 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.03677, allocations: 4 kB / 0.6318 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.03677, allocations: 0 / 0.6318 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.03858, allocations: 0.6966 MB / 0.6325 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.642e-05/0.03868, allocations: 35.73 kB / 0.6325 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.03876, allocations: 11.94 kB / 0.6325 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.03915, allocations: 27.97 kB / 0.6325 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.03931, allocations: 27.97 kB / 0.6326 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.03935, allocations: 8 kB / 0.6326 GB, free: 5.496 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004846/0.03983, allocations: 255 kB / 0.6328 GB, free: 5.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03983, allocations: 0 / 0.6328 GB, free: 5.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000797/0.04063, allocations: 115.8 kB / 0.6329 GB, free: 5.137 MB / 0.545 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.0005008/0.04113, allocations: 163.1 kB / 0.6331 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00231/0.04344, allocations: 1.085 MB / 0.6342 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.04344, allocations: 0 / 0.6342 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009448/0.04439, allocations: 459.1 kB / 0.6346 GB, free: 3.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.04484, allocations: 60.62 kB / 0.6346 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.04604, allocations: 0.7265 MB / 0.6354 GB, free: 2.422 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.04624, allocations: 177.8 kB / 0.6355 GB, free: 2.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.796e-05/0.04633, allocations: 25.62 kB / 0.6356 GB, free: 2.199 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.04638, allocations: 20.5 kB / 0.6356 GB, free: 2.18 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.04639, allocations: 0 / 0.6356 GB, free: 2.18 MB / 0.545 GB Notification: Performance of Templates: time 0.01215/0.05854, allocations: 6.244 MB / 0.6417 GB, free: 12.09 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.698761150240898] Failed to read output from testmodel.py, exit status != 0: 0.07010244950652122 0.08336158699999995 0.06461925199999995 Calling exit ...