Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007728/0.0007728, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0008194/0.0008194, allocations: 169.2 kB / 23.19 MB, free: 1.367 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.8417/0.8417, allocations: 177.2 MB / 203.6 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 179] 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 0.692/0.692, allocations: 154.7 MB / 414.7 MB, free: 0.7656 MB / 378.7 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 179] 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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [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.000877/0.000877, allocations: 67.91 kB / 0.6196 GB, free: 13.2 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.419, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002012/0.421, allocations: 1.843 MB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002526/0.4235, allocations: 3.461 MB / 0.7243 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.4236, allocations: 1.031 kB / 0.7243 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006131/0.4242, allocations: 177.8 kB / 0.7245 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.4243, allocations: 81.58 kB / 0.7245 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 7.973e-05/0.4244, allocations: 58.34 kB / 0.7246 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.4248, allocations: 280.1 kB / 0.7249 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.406e-05/0.4248, allocations: 17.12 kB / 0.7249 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.425, allocations: 109.2 kB / 0.725 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.4251, allocations: 77.56 kB / 0.7251 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.4251, allocations: 7.906 kB / 0.7251 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.574e-05/0.4251, allocations: 32.53 kB / 0.7251 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.4252, allocations: 53.89 kB / 0.7252 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.4253, allocations: 79.06 kB / 0.7252 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.4255, allocations: 220.5 kB / 0.7254 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4255, allocations: 1.438 kB / 0.7254 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4255, allocations: 0 / 0.7254 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.4255, allocations: 0 / 0.7254 GB, free: 19.5 MB / 0.6355 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.0005286/0.426, allocations: 472.8 kB / 0.7259 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.426, allocations: 9.734 kB / 0.7259 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.4262, allocations: 64.58 kB / 0.726 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.4265, allocations: 207.8 kB / 0.7262 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.4265, allocations: 6.562 kB / 0.7262 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.4265, allocations: 3.562 kB / 0.7262 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.4267, allocations: 148 kB / 0.7263 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.4267, allocations: 1.062 kB / 0.7263 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4267, allocations: 0 / 0.7263 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.4268, allocations: 10.16 kB / 0.7263 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.427, allocations: 145.8 kB / 0.7265 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.4274, allocations: 388.6 kB / 0.7268 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.4277, allocations: 162.5 kB / 0.727 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.4278, allocations: 98.14 kB / 0.7271 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.4278, allocations: 5.406 kB / 0.7271 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.4278, allocations: 37.59 kB / 0.7271 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 9.02e-07/0.4278, allocations: 0 / 0.7271 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0004966/0.4283, allocations: 293.8 kB / 0.7274 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.212e-05/0.4283, allocations: 58.19 kB / 0.7275 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.4285, allocations: 255.3 kB / 0.7277 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.4285, allocations: 29.7 kB / 0.7277 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.4286, allocations: 134 kB / 0.7279 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.4286, allocations: 52.55 kB / 0.7279 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.4286, allocations: 27.88 kB / 0.7279 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.658e-05/0.4287, allocations: 340.5 kB / 0.7283 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.4288, allocations: 72.16 kB / 0.7283 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.4289, allocations: 78.06 kB / 0.7284 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.4292, allocations: 167.8 kB / 0.7286 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4292, allocations: 4.656 kB / 0.7286 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003012/0.4295, allocations: 224.3 kB / 0.7288 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4295, allocations: 6.062 kB / 0.7288 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4295, allocations: 9.047 kB / 0.7288 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.4295, allocations: 0 / 0.7288 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4296, allocations: 33.69 kB / 0.7288 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.4296, allocations: 1.703 kB / 0.7288 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.494e-05/0.4297, allocations: 21.09 kB / 0.7288 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.4297, allocations: 3.531 kB / 0.7288 GB, free: 17.36 MB / 0.6355 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 7.199e-05/0.4298, allocations: 147.3 kB / 0.729 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.4298, allocations: 26.06 kB / 0.729 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.4299, allocations: 33.72 kB / 0.729 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4299, allocations: 0.6094 kB / 0.729 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.4299, allocations: 0 / 0.729 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.4299, allocations: 34.22 kB / 0.7291 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.4299, allocations: 1.75 kB / 0.7291 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/0.43, allocations: 23.58 kB / 0.7291 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.4301, allocations: 10.22 kB / 0.7291 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003485/0.4304, allocations: 299.8 kB / 0.7294 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003133/0.4307, allocations: 402.4 kB / 0.7298 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001444/0.4309, allocations: 83.72 kB / 0.7299 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001003/0.431, allocations: 182.7 kB / 0.73 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of Backend: time 2.3e-07/0.431, allocations: 0 / 0.73 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.4314, allocations: 189.4 kB / 0.7302 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0006129/0.432, allocations: 0.9118 MB / 0.7311 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.00495/0.437, allocations: 3.432 MB / 0.7345 GB, free: 15.4 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.896751649910584] Failed to read output from testmodel.py, exit status != 0: 0.4419994039926678 0.450218518 0.022955686000000003 Calling exit ...