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.001082/0.001082, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 194 kB / 16.53 MB, free: 6.391 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7345/0.7345, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 60.22 kB / 0.5018 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4083, allocations: 80.21 MB / 0.5801 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.008557/0.4169, allocations: 7.121 MB / 0.587 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1777/0.5947, allocations: 155.5 MB / 0.7389 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.5965, allocations: 35.81 kB / 0.7389 GB, free: 14.29 MB / 0.5762 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.001224/0.5978, allocations: 277.2 kB / 0.7392 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.6007, allocations: 0.7135 MB / 0.7399 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003171/0.6039, allocations: 1.203 MB / 0.7411 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005013/0.6089, allocations: 4.036 MB / 0.745 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.6125, allocations: 2.459 MB / 0.7474 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002925/0.6154, allocations: 1.642 MB / 0.749 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/0.6178, allocations: 1.738 MB / 0.7507 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.6188, allocations: 348 kB / 0.7511 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002641/0.6215, allocations: 0.9134 MB / 0.752 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001521/0.623, allocations: 0.8954 MB / 0.7528 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002927/0.626, allocations: 1.721 MB / 0.7545 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006439/0.6324, allocations: 4.529 MB / 0.7589 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6324, allocations: 4 kB / 0.7589 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6325, allocations: 0 / 0.7589 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.00021/0.6327, allocations: 0 / 0.7589 GB, free: 9.711 MB / 0.5919 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.01094/0.6436, allocations: 3.892 MB / 0.7627 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.6437, allocations: 12.03 kB / 0.7627 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.6538, allocations: 1.295 MB / 0.764 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004103/0.6579, allocations: 1.903 MB / 0.7659 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.6582, allocations: 230.1 kB / 0.7661 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009359/0.6591, allocations: 296 kB / 0.7664 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.6704, allocations: 4.216 MB / 0.7705 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.652e-05/0.6705, allocations: 3.938 kB / 0.7705 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006579/0.6712, allocations: 128 kB / 0.7706 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.887e-05/0.6713, allocations: 79.94 kB / 0.7707 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/0.6831, allocations: 4.592 MB / 0.7752 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02914/0.7123, allocations: 12.89 MB / 0.7878 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/0.7235, allocations: 3.778 MB / 0.7915 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003819/0.7274, allocations: 1.553 MB / 0.793 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/0.7287, allocations: 1.081 MB / 0.794 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004634/0.7334, allocations: 1.936 MB / 0.7959 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=223): time 6.873e-06/0.7334, allocations: 0 / 0.7959 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223): time 0.01396/0.7474, allocations: 4.905 MB / 0.8007 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.7476, allocations: 261.3 kB / 0.801 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00365/0.7512, allocations: 1.947 MB / 0.8029 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003699/0.7516, allocations: 61.7 kB / 0.8029 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.7529, allocations: 1.243 MB / 0.8041 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009222/0.7538, allocations: 0.7392 MB / 0.8049 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/0.755, allocations: 0.5307 MB / 0.8054 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7551, allocations: 301.1 kB / 0.8057 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003912/0.7591, allocations: 1.448 MB / 0.8071 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004174/0.7633, allocations: 1.756 MB / 0.8088 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008042/0.7713, allocations: 3.193 MB / 0.8119 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.7714, allocations: 0 / 0.8119 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.3768/1.148, allocations: 3.735 MB / 0.8156 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/1.148, allocations: 7.219 kB / 0.8156 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/1.148, allocations: 6.094 kB / 0.8156 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006859/1.149, allocations: 98.61 kB / 0.8157 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/1.153, allocations: 0.7127 MB / 0.8164 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/1.155, allocations: 1.635 MB / 0.818 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/1.159, allocations: 439.8 kB / 0.8184 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003438/1.159, allocations: 135.8 kB / 0.8185 GB, free: 213.7 MB / 0.6387 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.002172/1.161, allocations: 0.8064 MB / 0.8193 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007862/1.162, allocations: 232.2 kB / 0.8195 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/1.173, allocations: 4.031 MB / 0.8234 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-05/1.174, allocations: 24.44 kB / 0.8235 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/1.174, allocations: 1 kB / 0.8235 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.789e-05/1.174, allocations: 19.3 kB / 0.8235 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/1.188, allocations: 7.216 MB / 0.8305 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.188, allocations: 1.031 kB / 0.8305 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002961/1.191, allocations: 0.5988 MB / 0.8311 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004673/1.192, allocations: 75.58 kB / 0.8312 GB, free: 209 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/1.192, allocations: 77.06 kB / 0.8313 GB, free: 209 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/1.194, allocations: 1.655 MB / 0.8329 GB, free: 207.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.194, allocations: 5.062 kB / 0.8329 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008378/1.202, allocations: 3.325 MB / 0.8361 GB, free: 206 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/1.204, allocations: 0.6808 MB / 0.8368 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005581/1.204, allocations: 66.97 kB / 0.8369 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002554/1.207, allocations: 275.3 kB / 0.8371 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004775/1.207, allocations: 153.7 kB / 0.8373 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/1.208, allocations: 86.38 kB / 0.8374 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003261/1.211, allocations: 1.467 MB / 0.8388 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/1.211, allocations: 0 / 0.8388 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003429/1.214, allocations: 0.8827 MB / 0.8397 GB, free: 204.2 MB / 0.6387 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.001701/1.216, allocations: 0.6822 MB / 0.8403 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01358/1.23, allocations: 5.754 MB / 0.8459 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/1.23, allocations: 3.938 kB / 0.8459 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003513/1.233, allocations: 1.724 MB / 0.8476 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/1.236, allocations: 462.7 kB / 0.8481 GB, free: 199.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/1.247, allocations: 6.363 MB / 0.8543 GB, free: 193.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/1.249, allocations: 2.222 MB / 0.8564 GB, free: 191 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003568/1.252, allocations: 0.9541 MB / 0.8574 GB, free: 190.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.253, allocations: 303.2 kB / 0.8577 GB, free: 189.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.172e-06/1.253, allocations: 0 / 0.8577 GB, free: 189.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.05789/1.311, allocations: 39.09 MB / 0.8958 GB, free: 151 MB / 0.6387 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)