Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.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.001481/0.001481, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001871/0.001871, allocations: 169 kB / 23.02 MB, free: 1.547 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 1.071/1.071, allocations: 177.1 MB / 203.4 MB, free: 5.598 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-535:34: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-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 master/package.mo): time 0.7856/0.7856, allocations: 154.8 MB / 414.7 MB, free: 500 kB / 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.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0.7656 kB / 0.5208 GB, free: 1.723 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.886e-05, allocations: 6.312 kB / 0.5208 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.007677/0.007706, allocations: 7.609 MB / 0.5282 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1684/0.1761, allocations: 149.8 MB / 0.6745 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.1777, allocations: 43.69 kB / 0.6746 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008821/0.1786, allocations: 320.7 kB / 0.6749 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002547/0.1811, allocations: 0.8537 MB / 0.6757 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.184, allocations: 1.286 MB / 0.677 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.3516/0.5356, allocations: 4.417 MB / 0.6813 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003018/0.5386, allocations: 1.521 MB / 0.6828 GB, free: 48.15 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004583/0.5432, allocations: 2.575 MB / 0.6853 GB, free: 48.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0025/0.5457, allocations: 1.605 MB / 0.6868 GB, free: 48.15 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0009646/0.5467, allocations: 352.8 kB / 0.6872 GB, free: 48.15 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.5487, allocations: 0.9645 MB / 0.6881 GB, free: 48.15 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000692/0.5494, allocations: 0.9352 MB / 0.689 GB, free: 48.15 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001784/0.5512, allocations: 1.205 MB / 0.6902 GB, free: 48.01 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004544/0.5557, allocations: 3.566 MB / 0.6937 GB, free: 47.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.5557, allocations: 3.312 kB / 0.6937 GB, free: 47.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5557, allocations: 0 / 0.6937 GB, free: 47.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001707/0.5559, allocations: 0.9062 kB / 0.6937 GB, free: 47.54 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: 787 * Number of variables: 787 Notification: Performance of Generate backend data structure: time 0.00666/0.5626, allocations: 4.201 MB / 0.6978 GB, free: 45.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.806e-05/0.5626, allocations: 6.75 kB / 0.6978 GB, free: 45.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009681/0.5723, allocations: 2.945 MB / 0.7007 GB, free: 45.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003556/0.5759, allocations: 1.853 MB / 0.7025 GB, free: 44.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.576, allocations: 236.8 kB / 0.7027 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003899/0.5764, allocations: 307.6 kB / 0.703 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005578/0.582, allocations: 3.599 MB / 0.7065 GB, free: 44.01 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.16e-05/0.5821, allocations: 7.062 kB / 0.7065 GB, free: 44.01 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002417/0.5823, allocations: 127 kB / 0.7067 GB, free: 44.01 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.87e-05/0.5824, allocations: 78.38 kB / 0.7067 GB, free: 44.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004815/0.5872, allocations: 2.507 MB / 0.7092 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01584/0.603, allocations: 10.62 MB / 0.7196 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005031/0.6081, allocations: 2.189 MB / 0.7217 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.6096, allocations: 0.8286 MB / 0.7225 GB, free: 38.63 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004037/0.61, allocations: 128.8 kB / 0.7226 GB, free: 38.63 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002269/0.6123, allocations: 1.514 MB / 0.7241 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=232): time 9.999e-06/0.6123, allocations: 0.7812 kB / 0.7241 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=232): time 0.005654/0.6179, allocations: 2.896 MB / 0.7269 GB, free: 38.15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.618, allocations: 257.1 kB / 0.7272 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.6198, allocations: 1.586 MB / 0.7287 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002063/0.6201, allocations: 67.11 kB / 0.7288 GB, free: 37.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008549/0.6209, allocations: 1.374 MB / 0.7301 GB, free: 36.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005882/0.6215, allocations: 0.827 MB / 0.7309 GB, free: 36.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007434/0.6222, allocations: 0.5684 MB / 0.7315 GB, free: 36.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.702e-05/0.6223, allocations: 481.7 kB / 0.732 GB, free: 35.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.6235, allocations: 0.7303 MB / 0.7327 GB, free: 35.81 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.6249, allocations: 1.317 MB / 0.734 GB, free: 35.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/0.6274, allocations: 1.686 MB / 0.7356 GB, free: 34.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.6274, allocations: 0.6875 kB / 0.7356 GB, free: 34.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.004817/0.6322, allocations: 2.38 MB / 0.7379 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.6322, allocations: 8.938 kB / 0.7379 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.6323, allocations: 5.625 kB / 0.7379 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006579/0.6329, allocations: 138.6 kB / 0.7381 GB, free: 34.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/0.6356, allocations: 0.7897 MB / 0.7388 GB, free: 34.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.6372, allocations: 1.92 MB / 0.7407 GB, free: 32.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/0.64, allocations: 452.1 kB / 0.7412 GB, free: 32.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003298/0.6404, allocations: 141.7 kB / 0.7413 GB, free: 32.77 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,radSol[1].solAzi.outsidePolarCircle,radSol[2].solAzi.outsidePolarCircle,radSol[3].solAzi.outsidePolarCircle,radSol[4].solAzi.outsidePolarCircle,radSol[5].solAzi.outsidePolarCircle,radSol[6].solAzi.outsidePolarCircle,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (294): * Single equations (assignments): 293 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00124/0.6416, allocations: 299.7 kB / 0.7416 GB, free: 32.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000797/0.6424, allocations: 316.4 kB / 0.7419 GB, free: 32.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006094/0.6485, allocations: 2.982 MB / 0.7448 GB, free: 32.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/0.6485, allocations: 26.12 kB / 0.7448 GB, free: 32.17 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6485, allocations: 7.125 kB / 0.7448 GB, free: 32.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/0.6485, allocations: 11.48 kB / 0.7448 GB, free: 32.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.6604, allocations: 6.458 MB / 0.7511 GB, free: 29.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.6604, allocations: 2.766 kB / 0.7511 GB, free: 29.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002269/0.6627, allocations: 0.6606 MB / 0.7518 GB, free: 29.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004901/0.6632, allocations: 117.7 kB / 0.7519 GB, free: 29.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/0.6634, allocations: 78.58 kB / 0.752 GB, free: 29.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.6647, allocations: 1.921 MB / 0.7538 GB, free: 28.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6647, allocations: 2.969 kB / 0.7538 GB, free: 28.06 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/0.6754, allocations: 2.534 MB / 0.7563 GB, free: 27.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/0.6769, allocations: 0.6191 MB / 0.7569 GB, free: 27.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/0.6772, allocations: 66.91 kB / 0.757 GB, free: 27.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007915/0.6852, allocations: 305.9 kB / 0.7573 GB, free: 27.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/0.6855, allocations: 173.1 kB / 0.7574 GB, free: 27.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/0.6857, allocations: 92.77 kB / 0.7575 GB, free: 27.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.007391/0.693, allocations: 0.989 MB / 0.7585 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/0.693, allocations: 0 / 0.7585 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003684/0.6967, allocations: 0.9722 MB / 0.7595 GB, free: 26.48 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003484/0.7002, allocations: 0.7113 MB / 0.7601 GB, free: 26.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005445/0.7057, allocations: 2.255 MB / 0.7623 GB, free: 25.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.7057, allocations: 0 / 0.7623 GB, free: 25.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002326/0.708, allocations: 1.294 MB / 0.7636 GB, free: 25.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.7106, allocations: 0.5663 MB / 0.7642 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.7215, allocations: 5.446 MB / 0.7695 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006809/0.7222, allocations: 0.7074 MB / 0.7702 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003225/0.7254, allocations: 0.8765 MB / 0.771 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/0.7268, allocations: 321.3 kB / 0.7713 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.603e-06/0.7268, allocations: 0 / 0.7713 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.04909/0.7758, allocations: 42.34 MB / 0.8127 GB, free: 6.246 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; mkfifo IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe >> ../files/IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.sim & ./IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.868615315295756]