Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.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.BoundaryConditions.Examples.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008063/0.008063, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001651/0.001651, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7881/0.7881, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.89 kB / 0.5813 GB, free: 7.566 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5201/0.5213, allocations: 80.2 MB / 0.6596 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.008887/0.5302, allocations: 6.948 MB / 0.6664 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2195/0.7497, allocations: 155.7 MB / 0.8185 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.752, allocations: 35.81 kB / 0.8185 GB, free: 2.941 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.001112/0.7531, allocations: 293.1 kB / 0.8188 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002972/0.7561, allocations: 0.7262 MB / 0.8195 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.7594, allocations: 1.294 MB / 0.8208 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00513/0.7645, allocations: 4.563 MB / 0.8253 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00344/0.768, allocations: 2.689 MB / 0.8279 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003422/0.7714, allocations: 1.774 MB / 0.8296 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.7736, allocations: 1.789 MB / 0.8314 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006494/0.7742, allocations: 472 kB / 0.8318 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.7763, allocations: 1.062 MB / 0.8328 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008846/0.7772, allocations: 0.9853 MB / 0.8338 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002276/0.7795, allocations: 1.893 MB / 0.8357 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006593/0.7861, allocations: 5.56 MB / 0.8411 GB, free: 11.75 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.7861, allocations: 4 kB / 0.8411 GB, free: 11.74 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7861, allocations: 4 kB / 0.8411 GB, free: 11.74 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001145/0.7862, allocations: 0 / 0.8411 GB, free: 11.74 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.008886/0.7951, allocations: 3.886 MB / 0.8449 GB, free: 7.785 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.7952, allocations: 16.02 kB / 0.8449 GB, free: 7.77 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009084/0.8043, allocations: 1.283 MB / 0.8462 GB, free: 6.48 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004934/0.8093, allocations: 2.175 MB / 0.8483 GB, free: 4.25 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.8095, allocations: 226 kB / 0.8485 GB, free: 4.027 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001077/0.8106, allocations: 292 kB / 0.8488 GB, free: 3.742 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/0.8235, allocations: 4.46 MB / 0.8531 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.202e-05/0.8236, allocations: 3.938 kB / 0.8531 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008471/0.8245, allocations: 124 kB / 0.8533 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.221e-05/0.8246, allocations: 72 kB / 0.8533 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/0.8376, allocations: 4.909 MB / 0.8581 GB, free: 10.05 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.464/1.302, allocations: 14.01 MB / 0.8718 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/1.314, allocations: 4.047 MB / 0.8758 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004348/1.318, allocations: 1.666 MB / 0.8774 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/1.319, allocations: 1.07 MB / 0.8784 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004595/1.324, allocations: 2.037 MB / 0.8804 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 6.843e-06/1.324, allocations: 0 / 0.8804 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.01404/1.338, allocations: 5.23 MB / 0.8855 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/1.338, allocations: 205.8 kB / 0.8857 GB, free: 180 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004144/1.342, allocations: 1.981 MB / 0.8877 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003114/1.342, allocations: 62.45 kB / 0.8877 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/1.344, allocations: 1.185 MB / 0.8889 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008243/1.345, allocations: 0.7208 MB / 0.8896 GB, free: 177.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001517/1.346, allocations: 0.5165 MB / 0.8901 GB, free: 177 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.65e-05/1.346, allocations: 303.9 kB / 0.8904 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003887/1.35, allocations: 1.582 MB / 0.8919 GB, free: 175.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004216/1.354, allocations: 1.875 MB / 0.8937 GB, free: 174.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008047/1.362, allocations: 3.421 MB / 0.8971 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.836e-05/1.362, allocations: 1.094 kB / 0.8971 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.0102/1.373, allocations: 3.95 MB / 0.9009 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/1.373, allocations: 12.44 kB / 0.901 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/1.373, allocations: 5.75 kB / 0.901 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006853/1.373, allocations: 96.61 kB / 0.9011 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003506/1.377, allocations: 0.694 MB / 0.9017 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/1.379, allocations: 1.702 MB / 0.9034 GB, free: 168.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003417/1.382, allocations: 431.5 kB / 0.9038 GB, free: 168.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003748/1.383, allocations: 134.6 kB / 0.9039 GB, free: 168.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.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 (273): * Single equations (assignments): 272 * 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.002216/1.385, allocations: 0.9353 MB / 0.9048 GB, free: 167.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008744/1.386, allocations: 219.4 kB / 0.9051 GB, free: 167.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/1.396, allocations: 4.198 MB / 0.9092 GB, free: 165.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/1.396, allocations: 26.06 kB / 0.9092 GB, free: 165.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.396, allocations: 3.984 kB / 0.9092 GB, free: 165.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/1.396, allocations: 15.95 kB / 0.9092 GB, free: 165.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/1.411, allocations: 7.86 MB / 0.9169 GB, free: 160.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/1.411, allocations: 4 kB / 0.9169 GB, free: 160.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002704/1.413, allocations: 0.5718 MB / 0.9174 GB, free: 159.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/1.414, allocations: 80.78 kB / 0.9175 GB, free: 159.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002501/1.414, allocations: 63.95 kB / 0.9176 GB, free: 159.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/1.416, allocations: 1.725 MB / 0.9193 GB, free: 157.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.416, allocations: 3.984 kB / 0.9193 GB, free: 157.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007276/1.423, allocations: 3.465 MB / 0.9226 GB, free: 154.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.425, allocations: 0.7474 MB / 0.9234 GB, free: 153.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006676/1.425, allocations: 63.69 kB / 0.9234 GB, free: 153.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002538/1.428, allocations: 269.7 kB / 0.9237 GB, free: 153.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/1.428, allocations: 145.8 kB / 0.9238 GB, free: 153.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/1.428, allocations: 83.94 kB / 0.9239 GB, free: 153.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002925/1.431, allocations: 1.511 MB / 0.9254 GB, free: 151.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.01e-07/1.431, allocations: 0 / 0.9254 GB, free: 151.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003396/1.435, allocations: 0.8684 MB / 0.9262 GB, free: 150.7 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 239 * 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.001942/1.437, allocations: 0.6904 MB / 0.9269 GB, free: 150.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007941/1.445, allocations: 3.582 MB / 0.9304 GB, free: 146.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.445, allocations: 0 / 0.9304 GB, free: 146.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003413/1.448, allocations: 1.794 MB / 0.9322 GB, free: 144.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/1.451, allocations: 454.1 kB / 0.9326 GB, free: 144.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/1.464, allocations: 6.288 MB / 0.9387 GB, free: 138.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002857/1.467, allocations: 2.281 MB / 0.941 GB, free: 135.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.004251/1.472, allocations: 0.9221 MB / 0.9419 GB, free: 134.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00166/1.473, allocations: 291.2 kB / 0.9421 GB, free: 134.6 MB / 0.6856 GB Notification: Performance of SimCode: time 2.114e-06/1.473, allocations: 0 / 0.9421 GB, free: 134.6 MB / 0.6856 GB Notification: Performance of Templates: time 0.06403/1.537, allocations: 41.06 MB / 0.9822 GB, free: 93.8 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.sim & ./IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1)