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.001748/0.001748, allocations: 85.48 kB / 19.44 MB, free: 344 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.002755/0.002755, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.578/1.578, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.361/1.361, allocations: 154.8 MB / 414.4 MB, free: 444 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 178] 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.643e-06/1.643e-06, allocations: 0 / 0.5201 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.369e-05/3.534e-05, allocations: 5.484 kB / 0.5201 GB, free: 2.09 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.01296/0.01299, allocations: 7.535 MB / 0.5274 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.2241/0.2371, allocations: 151.4 MB / 0.6753 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.2389, allocations: 39.69 kB / 0.6753 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.2401, allocations: 332.7 kB / 0.6757 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003536/0.2437, allocations: 0.8537 MB / 0.6765 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.2471, allocations: 1.278 MB / 0.6777 GB, free: 232 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.4122/0.6593, allocations: 4.416 MB / 0.6821 GB, free: 48.14 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003313/0.6626, allocations: 1.527 MB / 0.6835 GB, free: 47.9 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008962/0.6716, allocations: 2.57 MB / 0.6861 GB, free: 47.84 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003838/0.6754, allocations: 1.608 MB / 0.6876 GB, free: 47.69 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001549/0.677, allocations: 355.2 kB / 0.688 GB, free: 47.69 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/0.6802, allocations: 0.9624 MB / 0.6889 GB, free: 47.68 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001365/0.6816, allocations: 0.9374 MB / 0.6898 GB, free: 47.52 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002855/0.6845, allocations: 1.203 MB / 0.691 GB, free: 47.37 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007454/0.6919, allocations: 5.07 MB / 0.696 GB, free: 46.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.433e-06/0.6919, allocations: 0 / 0.696 GB, free: 46.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6919, allocations: 1 kB / 0.696 GB, free: 46.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001432/0.6921, allocations: 0 / 0.696 GB, free: 46.91 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.009111/0.7012, allocations: 4.367 MB / 0.7002 GB, free: 45.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.7012, allocations: 7.875 kB / 0.7002 GB, free: 45.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01952/0.7208, allocations: 2.938 MB / 0.7031 GB, free: 44.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005858/0.7266, allocations: 1.905 MB / 0.705 GB, free: 44.19 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.7268, allocations: 236 kB / 0.7052 GB, free: 44.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.7279, allocations: 304 kB / 0.7055 GB, free: 44.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01271/0.7406, allocations: 5.029 MB / 0.7104 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.681e-05/0.7407, allocations: 1.875 kB / 0.7104 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003908/0.7411, allocations: 127.5 kB / 0.7105 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-05/0.7412, allocations: 78.12 kB / 0.7106 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01404/0.7552, allocations: 5.029 MB / 0.7155 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02911/0.7843, allocations: 14.48 MB / 0.7296 GB, free: 36.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.7944, allocations: 3.796 MB / 0.7333 GB, free: 36.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004821/0.7993, allocations: 1.829 MB / 0.7351 GB, free: 36.67 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004794/0.7997, allocations: 124.8 kB / 0.7352 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005556/0.8053, allocations: 2.571 MB / 0.7378 GB, free: 36.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=232): time 4.959e-06/0.8053, allocations: 0 / 0.7378 GB, free: 36.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=232): time 0.01582/0.8211, allocations: 5.762 MB / 0.7434 GB, free: 36.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.8213, allocations: 267.8 kB / 0.7436 GB, free: 35.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/0.8246, allocations: 2.054 MB / 0.7456 GB, free: 35.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004199/0.825, allocations: 67.61 kB / 0.7457 GB, free: 35.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.8262, allocations: 1.424 MB / 0.7471 GB, free: 34.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.00091/0.8272, allocations: 0.8598 MB / 0.7479 GB, free: 33.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.8282, allocations: 0.6174 MB / 0.7485 GB, free: 33.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.8283, allocations: 480.7 kB / 0.749 GB, free: 32.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004506/0.8328, allocations: 1.764 MB / 0.7507 GB, free: 32.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00495/0.8377, allocations: 2.404 MB / 0.7531 GB, free: 31.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008976/0.8467, allocations: 3.61 MB / 0.7566 GB, free: 29.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/0.8467, allocations: 3 kB / 0.7566 GB, free: 29.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01227/0.859, allocations: 4.333 MB / 0.7608 GB, free: 28.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.859, allocations: 9.812 kB / 0.7608 GB, free: 28.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.8591, allocations: 3 kB / 0.7608 GB, free: 28.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.8601, allocations: 152 kB / 0.761 GB, free: 28.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004224/0.8643, allocations: 0.7905 MB / 0.7618 GB, free: 28.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.8666, allocations: 2.042 MB / 0.7637 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004291/0.8709, allocations: 454.2 kB / 0.7642 GB, free: 26.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007898/0.8717, allocations: 139 kB / 0.7643 GB, free: 26.65 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.002827/0.8745, allocations: 0.7575 MB / 0.7651 GB, free: 26.26 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00179/0.8763, allocations: 316.2 kB / 0.7654 GB, free: 26.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01718/0.8935, allocations: 4.6 MB / 0.7698 GB, free: 24.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-05/0.8935, allocations: 26.31 kB / 0.7699 GB, free: 24.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.8935, allocations: 0 / 0.7699 GB, free: 24.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.772e-05/0.8936, allocations: 11.62 kB / 0.7699 GB, free: 24.72 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02337/0.917, allocations: 8.832 MB / 0.7785 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/0.917, allocations: 1.562 kB / 0.7785 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003727/0.9207, allocations: 0.6602 MB / 0.7792 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008099/0.9215, allocations: 129.9 kB / 0.7793 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004405/0.9219, allocations: 74.8 kB / 0.7793 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.9239, allocations: 2.065 MB / 0.7814 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9239, allocations: 0 / 0.7814 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/0.9357, allocations: 4.222 MB / 0.7855 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002381/0.938, allocations: 0.6092 MB / 0.7861 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009259/0.939, allocations: 71.7 kB / 0.7862 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00322/0.9422, allocations: 303.9 kB / 0.7864 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003947/0.9426, allocations: 185.3 kB / 0.7866 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/0.9429, allocations: 99.92 kB / 0.7867 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002706/0.9456, allocations: 1.37 MB / 0.7881 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9456, allocations: 0 / 0.7881 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003713/0.9493, allocations: 0.9661 MB / 0.789 GB, free: 12.11 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.00377/0.953, allocations: 0.7337 MB / 0.7897 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01027/0.9633, allocations: 4.188 MB / 0.7938 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.9633, allocations: 3.938 kB / 0.7938 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004858/0.9682, allocations: 2.191 MB / 0.7959 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/0.9715, allocations: 0.5703 MB / 0.7965 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.9864, allocations: 6.5 MB / 0.8028 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003141/0.9896, allocations: 1.568 MB / 0.8044 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0058/0.9954, allocations: 0.8696 MB / 0.8052 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002379/0.9978, allocations: 324.2 kB / 0.8055 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of SimCode: time 2.826e-06/0.9978, allocations: 0 / 0.8055 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of Templates: time 0.09065/1.088, allocations: 42.29 MB / 0.8468 GB, free: 1.715 MB / 0.6823 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: 9.079383064061403]