Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007674/0.007674, allocations: 99.78 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 191.7 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7813/0.7813, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 61.16 kB / 0.5815 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1979, allocations: 80.21 MB / 0.6599 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.009506/0.2075, allocations: 7.109 MB / 0.6668 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6828/0.8903, allocations: 155.5 MB / 0.8187 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/0.8923, allocations: 32.22 kB / 0.8187 GB, free: 3.66 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001041/0.8933, allocations: 280.1 kB / 0.819 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003074/0.8964, allocations: 0.7137 MB / 0.8197 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004002/0.9004, allocations: 1.211 MB / 0.8209 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006407/0.9068, allocations: 4.067 MB / 0.8248 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003717/0.9106, allocations: 2.471 MB / 0.8272 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005023/0.9156, allocations: 1.643 MB / 0.8289 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0039/0.9195, allocations: 1.752 MB / 0.8306 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009951/0.9205, allocations: 344.4 kB / 0.8309 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.9235, allocations: 0.9448 MB / 0.8318 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.9246, allocations: 0.8902 MB / 0.8327 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002805/0.9274, allocations: 1.725 MB / 0.8344 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008136/0.9355, allocations: 4.696 MB / 0.839 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.9355, allocations: 0 / 0.839 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9356, allocations: 0 / 0.839 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001423/0.9357, allocations: 0.9375 kB / 0.839 GB, free: 1.715 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.009683/0.9454, allocations: 4 MB / 0.8429 GB, free: 16 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.924e-05/0.9455, allocations: 11.03 kB / 0.8429 GB, free: 16 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009126/0.9546, allocations: 1.324 MB / 0.8442 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/0.9602, allocations: 1.958 MB / 0.8461 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.9604, allocations: 233.4 kB / 0.8463 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005077/0.9609, allocations: 296.6 kB / 0.8466 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009048/0.97, allocations: 4.204 MB / 0.8507 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.446e-05/0.9701, allocations: 0.9688 kB / 0.8507 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003047/0.9704, allocations: 124.5 kB / 0.8508 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-05/0.9705, allocations: 78.62 kB / 0.8509 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.9805, allocations: 4.597 MB / 0.8554 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02169/1.002, allocations: 12.79 MB / 0.8679 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/1.012, allocations: 3.788 MB / 0.8716 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003781/1.016, allocations: 1.552 MB / 0.8731 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001785/1.018, allocations: 1.079 MB / 0.8741 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004775/1.023, allocations: 1.936 MB / 0.876 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=223): time 5.731e-06/1.023, allocations: 4 kB / 0.876 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of matching and sorting (n=223): time 0.01302/1.036, allocations: 4.916 MB / 0.8808 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/1.036, allocations: 261.1 kB / 0.8811 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004457/1.041, allocations: 1.947 MB / 0.883 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005498/1.041, allocations: 67.8 kB / 0.883 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002288/1.043, allocations: 1.269 MB / 0.8843 GB, free: 200 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00168/1.045, allocations: 0.7784 MB / 0.885 GB, free: 15.52 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001762/1.047, allocations: 0.5328 MB / 0.8856 GB, free: 15.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002101/1.047, allocations: 301.1 kB / 0.8859 GB, free: 14.91 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/1.052, allocations: 1.447 MB / 0.8873 GB, free: 13.73 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004419/1.056, allocations: 1.76 MB / 0.889 GB, free: 11.89 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007877/1.064, allocations: 3.194 MB / 0.8921 GB, free: 8.641 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/1.064, allocations: 0 / 0.8921 GB, free: 8.641 MB / 0.67 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.009899/1.074, allocations: 3.745 MB / 0.8958 GB, free: 4.918 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/1.074, allocations: 11.75 kB / 0.8958 GB, free: 4.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/1.074, allocations: 8.406 kB / 0.8958 GB, free: 4.902 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/1.075, allocations: 92.78 kB / 0.8959 GB, free: 4.809 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/1.078, allocations: 0.7182 MB / 0.8966 GB, free: 4.117 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/1.081, allocations: 1.647 MB / 0.8982 GB, free: 2.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003643/1.085, allocations: 442.1 kB / 0.8986 GB, free: 1.906 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003792/1.085, allocations: 135.8 kB / 0.8987 GB, free: 1.773 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 14 (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.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * 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.002266/1.087, allocations: 0.7961 MB / 0.8995 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009517/1.088, allocations: 242.5 kB / 0.8997 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/1.099, allocations: 4.031 MB / 0.9037 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/1.099, allocations: 24 kB / 0.9037 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.099, allocations: 0 / 0.9037 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.057e-05/1.099, allocations: 11.95 kB / 0.9037 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/1.115, allocations: 7.194 MB / 0.9107 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.115, allocations: 0 / 0.9107 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002931/1.118, allocations: 0.5982 MB / 0.9113 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/1.119, allocations: 76.78 kB / 0.9114 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002704/1.119, allocations: 63.95 kB / 0.9115 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/1.121, allocations: 1.663 MB / 0.9131 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.121, allocations: 7.938 kB / 0.9131 GB, free: 2.859 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009058/1.13, allocations: 3.342 MB / 0.9163 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001996/1.132, allocations: 0.69 MB / 0.917 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009105/1.133, allocations: 59.91 kB / 0.9171 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/1.136, allocations: 275.6 kB / 0.9173 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003665/1.136, allocations: 157.8 kB / 0.9175 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/1.137, allocations: 94.97 kB / 0.9176 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003092/1.14, allocations: 1.462 MB / 0.919 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/1.14, allocations: 0 / 0.919 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00347/1.143, allocations: 0.896 MB / 0.9199 GB, free: 11.84 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002019/1.145, allocations: 0.6792 MB / 0.9205 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008823/1.154, allocations: 3.406 MB / 0.9239 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.154, allocations: 0 / 0.9239 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003977/1.158, allocations: 1.712 MB / 0.9255 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/1.161, allocations: 457 kB / 0.926 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/1.177, allocations: 6.383 MB / 0.9322 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00275/1.18, allocations: 2.225 MB / 0.9344 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004597/1.184, allocations: 0.9463 MB / 0.9353 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/1.186, allocations: 307.1 kB / 0.9356 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of SimCode: time 1.002e-06/1.186, allocations: 0 / 0.9356 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of Templates: time 0.07043/1.256, allocations: 39.67 MB / 0.9743 GB, free: 4.734 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile (rm -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; mkfifo IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; head -c 1048576 < IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe >> ../files/IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.sim & ./IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)