Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.00129/0.00129, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001391/0.001391, allocations: 161.4 kB / 22.45 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.407/1.407, allocations: 177.2 MB / 202.8 MB, free: 9.168 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.18/1.18, allocations: 154.6 MB / 413.8 MB, free: 5.23 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.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.6186 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.984e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003344/0.003374, allocations: 2.039 MB / 0.6206 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.005136, allocations: 1.013 MB / 0.6216 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.005248, allocations: 7.938 kB / 0.6216 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.235e-05/0.005311, allocations: 31.66 kB / 0.6216 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.005632, allocations: 83.17 kB / 0.6217 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.006104, allocations: 191.5 kB / 0.6219 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000374/0.006478, allocations: 310.5 kB / 0.6222 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.006655, allocations: 51.59 kB / 0.6222 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.006881, allocations: 155.6 kB / 0.6224 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.007105, allocations: 107.7 kB / 0.6225 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.007149, allocations: 23.94 kB / 0.6225 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004346/0.007584, allocations: 283.6 kB / 0.6228 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.128e-05/0.007635, allocations: 43.83 kB / 0.6228 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.007738, allocations: 87.75 kB / 0.6229 GB, free: 92 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.008224, allocations: 362.8 kB / 0.6232 GB, free: 15.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.008228, allocations: 0 / 0.6232 GB, free: 15.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.008229, allocations: 0 / 0.6232 GB, free: 15.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.008241, allocations: 0 / 0.6232 GB, free: 15.73 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00113/0.009371, allocations: 0.5592 MB / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.009407, allocations: 8.031 kB / 0.6238 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.009637, allocations: 44.69 kB / 0.6238 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.01004, allocations: 220.7 kB / 0.624 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.01006, allocations: 12.66 kB / 0.6241 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.01009, allocations: 16.38 kB / 0.6241 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.01067, allocations: 229.2 kB / 0.6243 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.01069, allocations: 192 / 0.6243 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.01071, allocations: 4.375 kB / 0.6243 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.01072, allocations: 7.938 kB / 0.6243 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000711/0.01143, allocations: 203.7 kB / 0.6245 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.01258, allocations: 0.8289 MB / 0.6253 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/0.0134, allocations: 229.4 kB / 0.6255 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.01376, allocations: 117.8 kB / 0.6256 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.01378, allocations: 3.938 kB / 0.6256 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.01382, allocations: 34.56 kB / 0.6257 GB, free: 13.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.01382, allocations: 0 / 0.6257 GB, free: 13.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.00128/0.0151, allocations: 337.1 kB / 0.626 GB, free: 12.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.01516, allocations: 85.09 kB / 0.6261 GB, free: 12.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.01545, allocations: 260.2 kB / 0.6263 GB, free: 12.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.01548, allocations: 29.7 kB / 0.6264 GB, free: 12.35 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.0156, allocations: 168.3 kB / 0.6265 GB, free: 12.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.01566, allocations: 59.48 kB / 0.6266 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.164e-05/0.01574, allocations: 45.64 kB / 0.6266 GB, free: 12.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.01589, allocations: 330.8 kB / 0.6269 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.01625, allocations: 95.91 kB / 0.627 GB, free: 11.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.01664, allocations: 137.9 kB / 0.6272 GB, free: 11.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007361/0.01737, allocations: 241.7 kB / 0.6274 GB, free: 11.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01737, allocations: 0 / 0.6274 GB, free: 11.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009094/0.01828, allocations: 301.2 kB / 0.6277 GB, free: 10.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.0183, allocations: 4 kB / 0.6277 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.01831, allocations: 4 kB / 0.6277 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.01833, allocations: 3.938 kB / 0.6277 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.01865, allocations: 63.88 kB / 0.6277 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.01866, allocations: 4 kB / 0.6278 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.01891, allocations: 39.98 kB / 0.6278 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.01893, allocations: 8 kB / 0.6278 GB, free: 10.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001335/0.01906, allocations: 134.8 kB / 0.6279 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.01918, allocations: 23.86 kB / 0.6279 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009332/0.02011, allocations: 291.2 kB / 0.6282 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.02012, allocations: 7.938 kB / 0.6282 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.02013, allocations: 0 / 0.6282 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.02013, allocations: 0 / 0.6282 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.02046, allocations: 201.2 kB / 0.6284 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02046, allocations: 4.219 kB / 0.6284 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.02075, allocations: 55.95 kB / 0.6285 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.02075, allocations: 4 kB / 0.6285 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.02077, allocations: 11.94 kB / 0.6285 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.02078, allocations: 3.984 kB / 0.6285 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.02078, allocations: 4.641 kB / 0.6285 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009896/0.02177, allocations: 444.1 kB / 0.6289 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.02181, allocations: 23.81 kB / 0.629 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.02185, allocations: 7.984 kB / 0.629 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.02213, allocations: 27.97 kB / 0.629 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.0222, allocations: 19.91 kB / 0.629 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.02221, allocations: 4 kB / 0.629 GB, free: 9.496 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002056/0.02242, allocations: 187.1 kB / 0.6292 GB, free: 9.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.02242, allocations: 4 kB / 0.6292 GB, free: 9.312 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003694/0.02278, allocations: 63.88 kB / 0.6293 GB, free: 9.25 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0002587/0.02304, allocations: 119.1 kB / 0.6294 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008012/0.02384, allocations: 212 kB / 0.6296 GB, free: 8.918 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.02385, allocations: 0 / 0.6296 GB, free: 8.918 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.02423, allocations: 115.8 kB / 0.6297 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.02479, allocations: 75.67 kB / 0.6298 GB, free: 8.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000832/0.02562, allocations: 440 kB / 0.6302 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.02576, allocations: 142.9 kB / 0.6303 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.02589, allocations: 30.28 kB / 0.6303 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/0.02597, allocations: 24.5 kB / 0.6304 GB, free: 8.059 MB / 0.545 GB Notification: Performance of SimCode: time 3.8e-07/0.02597, allocations: 0 / 0.6304 GB, free: 8.059 MB / 0.545 GB Notification: Performance of Templates: time 0.009049/0.03502, allocations: 4.236 MB / 0.6345 GB, free: 3.957 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7010018192231655] Failed to read output from testmodel.py, exit status != 0: 0.04349852725863457 0.06735081600000001 0.054671915 Calling exit ...