Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.00106/0.00106, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.001029/0.001029, allocations: 177.9 kB / 23.21 MB, free: 1.336 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.9002/0.9002, allocations: 177.1 MB / 203.5 MB, free: 5.492 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.711/0.711, allocations: 154.5 MB / 414.5 MB, free: 0.7656 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: translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.011e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002333/0.002363, allocations: 1.852 MB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003403/0.005766, allocations: 3.444 MB / 0.6244 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.005878, allocations: 0 / 0.6244 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007532/0.006632, allocations: 190.3 kB / 0.6246 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.006819, allocations: 91.34 kB / 0.6247 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.00694, allocations: 51.91 kB / 0.6248 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004436/0.007383, allocations: 279 kB / 0.625 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.007494, allocations: 21.78 kB / 0.625 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.007621, allocations: 107.7 kB / 0.6251 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.00774, allocations: 67.81 kB / 0.6252 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.007761, allocations: 8 kB / 0.6252 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.394e-05/0.007855, allocations: 27.86 kB / 0.6252 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.007931, allocations: 59.83 kB / 0.6253 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.00799, allocations: 63.72 kB / 0.6254 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.008233, allocations: 191.3 kB / 0.6255 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.008235, allocations: 0 / 0.6255 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.383e-06/0.008236, allocations: 0 / 0.6255 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.008241, allocations: 4 kB / 0.6256 GB, free: 6.766 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006772/0.008918, allocations: 484.7 kB / 0.626 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.008963, allocations: 9.469 kB / 0.626 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004752/0.009438, allocations: 124.6 kB / 0.6261 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.009797, allocations: 205.8 kB / 0.6263 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.009808, allocations: 8.359 kB / 0.6263 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.009825, allocations: 4.375 kB / 0.6264 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.01009, allocations: 150.1 kB / 0.6265 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.0101, allocations: 192 / 0.6265 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.01011, allocations: 8.125 kB / 0.6265 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.01014, allocations: 15.98 kB / 0.6265 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.0104, allocations: 155.8 kB / 0.6267 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.01092, allocations: 392.2 kB / 0.627 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.01119, allocations: 182.4 kB / 0.6272 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.01134, allocations: 104.8 kB / 0.6273 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.01136, allocations: 4 kB / 0.6273 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.01138, allocations: 34.55 kB / 0.6274 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.01138, allocations: 4 kB / 0.6274 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0005448/0.01193, allocations: 321.5 kB / 0.6277 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.01197, allocations: 55.41 kB / 0.6277 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.01214, allocations: 256.2 kB / 0.628 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.01216, allocations: 29.7 kB / 0.628 GB, free: 4.137 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.01223, allocations: 144.1 kB / 0.6281 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.01227, allocations: 47.58 kB / 0.6282 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.01232, allocations: 33.7 kB / 0.6282 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.01242, allocations: 330.8 kB / 0.6285 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.01255, allocations: 83.92 kB / 0.6286 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.01268, allocations: 83.94 kB / 0.6287 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.01295, allocations: 179.7 kB / 0.6288 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01295, allocations: 4 kB / 0.6289 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003329/0.01329, allocations: 241.3 kB / 0.6291 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.0133, allocations: 10.34 kB / 0.6291 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01331, allocations: 0 / 0.6291 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.01332, allocations: 0 / 0.6291 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.01347, allocations: 39.95 kB / 0.6291 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01348, allocations: 0 / 0.6291 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.444e-05/0.01356, allocations: 23.94 kB / 0.6292 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.01357, allocations: 7.875 kB / 0.6292 GB, free: 2.91 MB / 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: 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.0001033/0.01368, allocations: 142.8 kB / 0.6293 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.01371, allocations: 27.8 kB / 0.6293 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.01375, allocations: 33.8 kB / 0.6294 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01375, allocations: 0 / 0.6294 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01376, allocations: 0 / 0.6294 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01376, allocations: 0 / 0.6294 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.01394, allocations: 209.2 kB / 0.6296 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01395, allocations: 0 / 0.6296 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.01405, allocations: 39.91 kB / 0.6296 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.01406, allocations: 0 / 0.6296 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.01407, allocations: 7.984 kB / 0.6296 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.01407, allocations: 0 / 0.6296 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.01407, allocations: 7.922 kB / 0.6296 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.01444, allocations: 339.2 kB / 0.6299 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.0145, allocations: 43.77 kB / 0.63 GB, free: 2.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.01453, allocations: 7.938 kB / 0.63 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.01462, allocations: 11.98 kB / 0.63 GB, free: 2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.01467, allocations: 11.98 kB / 0.63 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.01468, allocations: 7.984 kB / 0.63 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001171/0.0148, allocations: 183.1 kB / 0.6302 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.0148, allocations: 0 / 0.6302 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001859/0.01499, allocations: 36 kB / 0.6302 GB, free: 1.766 MB / 0.5886 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.0001358/0.01512, allocations: 107.2 kB / 0.6303 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.01548, allocations: 179.8 kB / 0.6305 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01548, allocations: 0 / 0.6305 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.01562, allocations: 103.6 kB / 0.6306 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.01594, allocations: 63.95 kB / 0.6307 GB, free: 1.316 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000823/0.01676, allocations: 0.489 MB / 0.6311 GB, free: 0.793 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.884e-05/0.01685, allocations: 132.1 kB / 0.6313 GB, free: 0.6406 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.01693, allocations: 28.48 kB / 0.6313 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of SimCode: time 8.12e-07/0.01693, allocations: 4 kB / 0.6313 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of Templates: time 0.003743/0.02067, allocations: 3.028 MB / 0.6342 GB, free: 13.61 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.782652927562594] Failed to read output from testmodel.py, exit status != 0: 0.026809551753103733 0.035857541 0.025843846 Calling exit ...