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.0007051/0.0007051, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009178/0.001623, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007299/0.0007299, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008847/0.001615, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9385/0.9385, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09098/1.03, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.7337/0.7337, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.2333/0.967, allocations: 49.14 MB / 448.4 MB, free: 6.023 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.393e-06/1.393e-06, allocations: 0 / 449.7 MB, free: 4.742 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.357e-06/1.075e-05, allocations: 6.312 kB / 449.7 MB, free: 4.734 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002196/0.002207, allocations: 1.974 MB / 451.7 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.005318, allocations: 3.758 MB / 455.4 MB, free: 15.06 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.162e-05/0.0054, allocations: 7.938 kB / 455.4 MB, free: 15.05 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006148/0.006014, allocations: 178.7 kB / 455.6 MB, free: 14.88 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.006164, allocations: 84.25 kB / 455.7 MB, free: 14.8 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.681e-05/0.006241, allocations: 52.91 kB / 455.7 MB, free: 14.75 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.006569, allocations: 280.3 kB / 456 MB, free: 14.48 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.514e-05/0.006644, allocations: 14.97 kB / 456 MB, free: 14.46 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.006787, allocations: 150.6 kB / 456.2 MB, free: 14.31 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.142e-05/0.006879, allocations: 63.8 kB / 456.2 MB, free: 14.25 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.006896, allocations: 9 kB / 456.2 MB, free: 14.24 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.027e-05/0.006976, allocations: 27.98 kB / 456.3 MB, free: 14.21 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.007029, allocations: 48.48 kB / 456.3 MB, free: 14.17 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.007074, allocations: 47.81 kB / 456.4 MB, free: 14.12 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.007236, allocations: 152.6 kB / 456.5 MB, free: 13.97 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.007246, allocations: 0 / 456.5 MB, free: 13.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.007247, allocations: 0 / 456.5 MB, free: 13.97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.007259, allocations: 0.5 kB / 456.5 MB, free: 13.97 MB / 442.7 MB 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.0005481/0.007807, allocations: 478.5 kB / 457 MB, free: 13.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.007843, allocations: 8.031 kB / 457 MB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004425/0.008285, allocations: 167.7 kB / 457.2 MB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.008474, allocations: 190.8 kB / 457.3 MB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.008482, allocations: 4.375 kB / 457.3 MB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.008495, allocations: 4.969 kB / 457.4 MB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.008665, allocations: 124.2 kB / 457.5 MB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.008671, allocations: 192 / 457.5 MB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.008682, allocations: 4.125 kB / 457.5 MB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.008707, allocations: 12.69 kB / 457.5 MB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.358e-05/0.008771, allocations: 29.41 kB / 457.5 MB, free: 12.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.009088, allocations: 245.7 kB / 457.8 MB, free: 12.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.009196, allocations: 80.56 kB / 457.8 MB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.52e-05/0.009241, allocations: 32.83 kB / 457.9 MB, free: 12.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.009255, allocations: 4.656 kB / 457.9 MB, free: 12.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.009275, allocations: 38.5 kB / 457.9 MB, free: 12.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 8.52e-07/0.009276, allocations: 4.844 kB / 457.9 MB, free: 12.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001947/0.009471, allocations: 112.9 kB / 458 MB, free: 12.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.009502, allocations: 51.41 kB / 458.1 MB, free: 12.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.00962, allocations: 231 kB / 458.3 MB, free: 12.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.009636, allocations: 30.33 kB / 458.3 MB, free: 12.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.009681, allocations: 116.7 kB / 458.4 MB, free: 11.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.009714, allocations: 44.17 kB / 458.5 MB, free: 11.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.00976, allocations: 33.69 kB / 458.5 MB, free: 11.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.009851, allocations: 339.4 kB / 458.9 MB, free: 11.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.00988, allocations: 12.53 kB / 458.9 MB, free: 11.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.034e-05/0.009911, allocations: 16.55 kB / 458.9 MB, free: 11.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.72e-05/0.009998, allocations: 53.27 kB / 458.9 MB, free: 11.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01, allocations: 0 / 458.9 MB, free: 11.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001125/0.01011, allocations: 105 kB / 459 MB, free: 11.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.01012, allocations: 4 kB / 459 MB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01013, allocations: 1.219 kB / 459 MB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.01014, allocations: 4 kB / 459 MB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.01028, allocations: 32.69 kB / 459.1 MB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.01028, allocations: 4 kB / 459.1 MB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.259e-05/0.01035, allocations: 12.7 kB / 459.1 MB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.01036, allocations: 4.531 kB / 459.1 MB, free: 11.25 MB / 442.7 MB 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 6.958e-05/0.01042, allocations: 125.1 kB / 459.2 MB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.01045, allocations: 21.89 kB / 459.2 MB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.01049, allocations: 27.06 kB / 459.3 MB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01049, allocations: 4 kB / 459.3 MB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01049, allocations: 0 / 459.3 MB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.01049, allocations: 0 / 459.3 MB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.01063, allocations: 129.7 kB / 459.4 MB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01063, allocations: 0.5938 kB / 459.4 MB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.01074, allocations: 41.72 kB / 459.4 MB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.01078, allocations: 23.84 kB / 459.5 MB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.01078, allocations: 7.922 kB / 459.5 MB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01079, allocations: 8 kB / 459.5 MB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01079, allocations: 1.625 kB / 459.5 MB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01079, allocations: 0 / 459.5 MB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.01094, allocations: 187.4 kB / 459.7 MB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.01097, allocations: 7.938 kB / 459.7 MB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.01105, allocations: 8.938 kB / 459.7 MB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.01108, allocations: 15.97 kB / 459.7 MB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.01109, allocations: 6.734 kB / 459.7 MB, free: 10.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.325e-05/0.01114, allocations: 80.64 kB / 459.8 MB, free: 10.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01114, allocations: 0 / 459.8 MB, free: 10.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.01129, allocations: 40.75 kB / 459.8 MB, free: 10.48 MB / 442.7 MB 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 7.58e-05/0.01137, allocations: 78.36 kB / 459.9 MB, free: 10.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.01149, allocations: 68.73 kB / 460 MB, free: 10.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.01149, allocations: 4 kB / 460 MB, free: 10.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.08e-05/0.01155, allocations: 45.03 kB / 460 MB, free: 10.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.01178, allocations: 78.98 kB / 460.1 MB, free: 10.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.01447, allocations: 424.7 kB / 460.5 MB, free: 9.766 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.994e-05/0.01452, allocations: 84.23 kB / 460.6 MB, free: 9.664 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.01463, allocations: 32.23 kB / 460.6 MB, free: 9.648 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.01477, allocations: 96.11 kB / 460.7 MB, free: 9.555 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01477, allocations: 0 / 460.7 MB, free: 9.555 MB / 442.7 MB Notification: Performance of Templates: time 0.004087/0.01885, allocations: 2.969 MB / 463.7 MB, free: 6.809 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.18919509742409]