Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001408/0.001408, allocations: 84.56 kB / 19.18 MB, free: 2.504 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.001706/0.001706, allocations: 169.4 kB / 22.46 MB, free: 5.379 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.494/1.494, allocations: 177.1 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.226/1.226, allocations: 154.6 MB / 413.8 MB, free: 5.223 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.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.203e-05, allocations: 6.219 kB / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003489/0.003521, allocations: 1.832 MB / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005176/0.008697, allocations: 3.405 MB / 0.6237 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.008853, allocations: 3.938 kB / 0.6237 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008823/0.009735, allocations: 167.2 kB / 0.6239 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.01002, allocations: 83.39 kB / 0.6239 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.01019, allocations: 51.92 kB / 0.624 GB, free: 15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006361/0.01082, allocations: 282.9 kB / 0.6243 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.01094, allocations: 17.8 kB / 0.6243 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.01115, allocations: 91.78 kB / 0.6244 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.01133, allocations: 63.8 kB / 0.6244 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.01136, allocations: 8 kB / 0.6244 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.01148, allocations: 35.86 kB / 0.6245 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.421e-05/0.01157, allocations: 59.83 kB / 0.6245 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.578e-05/0.01166, allocations: 55.8 kB / 0.6246 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.01201, allocations: 195.3 kB / 0.6248 GB, free: 14.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.01201, allocations: 0 / 0.6248 GB, free: 14.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01201, allocations: 0 / 0.6248 GB, free: 14.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.01202, allocations: 3.938 kB / 0.6248 GB, free: 14.2 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000962/0.01298, allocations: 464.8 kB / 0.6252 GB, free: 13.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.01303, allocations: 8.031 kB / 0.6252 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.01343, allocations: 60.75 kB / 0.6253 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.0139, allocations: 208.7 kB / 0.6255 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.01391, allocations: 384 / 0.6255 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.01393, allocations: 8.375 kB / 0.6255 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.01432, allocations: 140.3 kB / 0.6256 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.01433, allocations: 192 / 0.6256 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.01435, allocations: 12.11 kB / 0.6256 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.01438, allocations: 11.98 kB / 0.6256 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.01484, allocations: 139.8 kB / 0.6258 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007036/0.01554, allocations: 368.3 kB / 0.6261 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.01599, allocations: 150.4 kB / 0.6263 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.01626, allocations: 100.8 kB / 0.6264 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.01628, allocations: 0 / 0.6264 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.01631, allocations: 38.5 kB / 0.6264 GB, free: 12.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 8.92e-07/0.01631, allocations: 0 / 0.6264 GB, free: 12.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0008834/0.01719, allocations: 285.2 kB / 0.6267 GB, free: 12.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.01724, allocations: 59.41 kB / 0.6267 GB, free: 12.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.01751, allocations: 245.9 kB / 0.627 GB, free: 11.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.01753, allocations: 29.7 kB / 0.627 GB, free: 11.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.01764, allocations: 128.1 kB / 0.6271 GB, free: 11.65 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.01769, allocations: 59.52 kB / 0.6272 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.01776, allocations: 29.7 kB / 0.6272 GB, free: 11.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.01793, allocations: 334.8 kB / 0.6275 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.01817, allocations: 67.94 kB / 0.6276 GB, free: 11.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.01839, allocations: 71.94 kB / 0.6276 GB, free: 11.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.01887, allocations: 164.7 kB / 0.6278 GB, free: 10.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01888, allocations: 0 / 0.6278 GB, free: 10.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005624/0.01944, allocations: 209.4 kB / 0.628 GB, free: 10.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.01946, allocations: 8 kB / 0.628 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.01946, allocations: 0 / 0.628 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.01948, allocations: 0 / 0.628 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.01975, allocations: 43.89 kB / 0.6281 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.01975, allocations: 0 / 0.6281 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.0199, allocations: 15.98 kB / 0.6281 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.01992, allocations: 4 kB / 0.6281 GB, free: 10.64 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001425/0.02007, allocations: 142.8 kB / 0.6282 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.02012, allocations: 23.8 kB / 0.6282 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.02018, allocations: 29.77 kB / 0.6283 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.02018, allocations: 0 / 0.6283 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.02019, allocations: 4 kB / 0.6283 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.0202, allocations: 0 / 0.6283 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.02047, allocations: 193.1 kB / 0.6284 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.02047, allocations: 4 kB / 0.6285 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.02069, allocations: 39.91 kB / 0.6285 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.0207, allocations: 7.922 kB / 0.6285 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.02071, allocations: 0 / 0.6285 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.02072, allocations: 11.94 kB / 0.6285 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.02072, allocations: 0 / 0.6285 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006439/0.02136, allocations: 306 kB / 0.6288 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.43e-05/0.02145, allocations: 43.78 kB / 0.6288 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.02148, allocations: 3.984 kB / 0.6288 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.02166, allocations: 11.98 kB / 0.6289 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.02172, allocations: 11.98 kB / 0.6289 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.02174, allocations: 7.984 kB / 0.6289 GB, free: 9.766 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001809/0.02192, allocations: 181.2 kB / 0.629 GB, free: 9.586 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.02192, allocations: 3.938 kB / 0.6291 GB, free: 9.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002903/0.02221, allocations: 47.89 kB / 0.6291 GB, free: 9.535 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0001835/0.02239, allocations: 107.2 kB / 0.6292 GB, free: 9.422 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005478/0.02294, allocations: 159.9 kB / 0.6294 GB, free: 9.266 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.02294, allocations: 0 / 0.6294 GB, free: 9.266 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.02321, allocations: 87.88 kB / 0.6294 GB, free: 9.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.02364, allocations: 42.52 kB / 0.6295 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009151/0.02455, allocations: 438.3 kB / 0.6299 GB, free: 8.684 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.02469, allocations: 131.9 kB / 0.63 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.02485, allocations: 57.44 kB / 0.6301 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.02492, allocations: 20.48 kB / 0.6301 GB, free: 8.461 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.02492, allocations: 0 / 0.6301 GB, free: 8.461 MB / 0.545 GB Notification: Performance of Templates: time 0.006944/0.03186, allocations: 2.34 MB / 0.6324 GB, free: 6.207 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.763069111853838] Failed to read output from testmodel.py, exit status != 0: 0.040794599801301956 0.056234015000000005 0.041065995 Calling exit ...