Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation.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.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=11956,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation") translateModel(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=11956,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002518/0.002518, allocations: 193.1 kB / 16.14 MB, free: 6.688 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.74/0.74, allocations: 132.2 MB / 422.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.72 kB / 0.5011 GB, free: 9.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1806, allocations: 80.2 MB / 0.5794 GB, free: 9.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation): time 0.01233/0.1929, allocations: 9.648 MB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5423/0.7352, allocations: 154.6 MB / 0.7398 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002961/0.7383, allocations: 41.53 kB / 0.7399 GB, free: 10.83 MB / 0.5606 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Examples/TwinHouses/BaseClasses/Data/Validation/SolarValidation.mo:13:3-14:70:writable] Warning: Connector weaBus1 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.001565/0.7399, allocations: 329.3 kB / 0.7402 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004688/0.7446, allocations: 1.053 MB / 0.7412 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004008/0.7486, allocations: 1.487 MB / 0.7427 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007838/0.7565, allocations: 6.336 MB / 0.7488 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005359/0.7619, allocations: 3.33 MB / 0.7521 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005883/0.7678, allocations: 2.167 MB / 0.7542 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004409/0.7722, allocations: 2.539 MB / 0.7567 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001339/0.7735, allocations: 308 kB / 0.757 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003762/0.7773, allocations: 1.249 MB / 0.7582 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.7786, allocations: 1.168 MB / 0.7593 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003775/0.7824, allocations: 2.428 MB / 0.7617 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.7932, allocations: 8.421 MB / 0.7699 GB, free: 96 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.7933, allocations: 0 / 0.7699 GB, free: 96 kB / 0.5762 GB Notification: Performance of FrontEnd: time 7.72e-07/0.7933, allocations: 0 / 0.7699 GB, free: 96 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003023/0.7936, allocations: 0 / 0.7699 GB, free: 96 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.01622/0.8098, allocations: 5.804 MB / 0.7756 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.8099, allocations: 12.03 kB / 0.7756 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01798/0.8279, allocations: 2.338 MB / 0.7779 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00837/0.8363, allocations: 3.343 MB / 0.7812 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002958/0.8366, allocations: 349.1 kB / 0.7815 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001646/0.8383, allocations: 440 kB / 0.7819 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/0.857, allocations: 7.058 MB / 0.7888 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.636e-05/0.8571, allocations: 3.938 kB / 0.7888 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005707/0.8577, allocations: 188 kB / 0.789 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.8578, allocations: 119.9 kB / 0.7891 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02506/0.8829, allocations: 10.24 MB / 0.7991 GB, free: 1.906 MB / 0.6075 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.04988/0.9328, allocations: 22.18 MB / 0.8208 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02417/0.957, allocations: 7.98 MB / 0.8286 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009293/0.9663, allocations: 3.087 MB / 0.8316 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001728/0.9681, allocations: 1.156 MB / 0.8327 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01102/0.9792, allocations: 3.618 MB / 0.8362 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=399): time 1.138e-05/0.9792, allocations: 8 kB / 0.8362 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=399): time 0.04821/1.027, allocations: 12.1 MB / 0.8481 GB, free: 14.15 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002154/1.028, allocations: 304.2 kB / 0.8483 GB, free: 13.79 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004827/1.033, allocations: 2.832 MB / 0.8511 GB, free: 10.93 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001474/1.034, allocations: 109.7 kB / 0.8512 GB, free: 10.82 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/1.036, allocations: 1.779 MB / 0.853 GB, free: 9.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002707/1.039, allocations: 1.348 MB / 0.8543 GB, free: 7.652 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001881/1.041, allocations: 0.8441 MB / 0.8551 GB, free: 6.801 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.041, allocations: 305.1 kB / 0.8554 GB, free: 6.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007881/1.049, allocations: 2.771 MB / 0.8581 GB, free: 3.727 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01012/1.059, allocations: 3.246 MB / 0.8613 GB, free: 380 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4354/1.494, allocations: 5.947 MB / 0.8671 GB, free: 212.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-05/1.494, allocations: 0 / 0.8671 GB, free: 212.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=480) (initialization): time 0.02599/1.52, allocations: 8.244 MB / 0.8751 GB, free: 210.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/1.52, allocations: 9.5 kB / 0.8751 GB, free: 210.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/1.52, allocations: 8.375 kB / 0.8751 GB, free: 210.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007439/1.528, allocations: 1.563 MB / 0.8767 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006904/1.535, allocations: 1.079 MB / 0.8777 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006857/1.542, allocations: 4.314 MB / 0.8819 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006908/1.549, allocations: 0.6472 MB / 0.8826 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/1.55, allocations: 217.4 kB / 0.8828 GB, free: 206.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.validationDataN2Exp1.data.nextTimeEvent,$whenCondition4,validationDataN2Exp1.data.nextTimeEventScaled,$PRE.validationDataN2Exp1.data.nextTimeEventScaled,validationDataN2Exp1.data.nextTimeEvent,$PRE.sim.inputSolTTH.nextTimeEvent,$whenCondition3,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.inputSolTTH.nextTimeEventScaled,$PRE.sim.inputSolTTH.nextTimeEventScaled,sim.inputSolTTH.nextTimeEvent,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,errTot.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (445): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,20), (1,12), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.004742/1.555, allocations: 1.352 MB / 0.8841 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001955/1.557, allocations: 359.9 kB / 0.8844 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01953/1.577, allocations: 6.875 MB / 0.8911 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.428e-05/1.577, allocations: 46.06 kB / 0.8912 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/1.577, allocations: 0 / 0.8912 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.528e-05/1.577, allocations: 21.08 kB / 0.8912 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03794/1.615, allocations: 13.28 MB / 0.9042 GB, free: 197.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.394e-05/1.615, allocations: 0.6562 kB / 0.9042 GB, free: 197.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006045/1.621, allocations: 0.9082 MB / 0.9051 GB, free: 197.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006256/1.627, allocations: 1.298 MB / 0.9063 GB, free: 197.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001573/1.629, allocations: 130.9 kB / 0.9065 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005891/1.635, allocations: 4.016 MB / 0.9104 GB, free: 194.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.635, allocations: 1.719 kB / 0.9104 GB, free: 194.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03589/1.671, allocations: 10.99 MB / 0.9211 GB, free: 190.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0041/1.675, allocations: 1.167 MB / 0.9223 GB, free: 189.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001736/1.677, allocations: 121.6 kB / 0.9224 GB, free: 189.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00543/1.682, allocations: 430.1 kB / 0.9228 GB, free: 189.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009695/1.683, allocations: 269.9 kB / 0.923 GB, free: 189.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004972/1.684, allocations: 156.7 kB / 0.9232 GB, free: 189.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003946/1.688, allocations: 2.11 MB / 0.9252 GB, free: 188.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.21e-07/1.688, allocations: 0 / 0.9252 GB, free: 188.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005807/1.693, allocations: 1.283 MB / 0.9265 GB, free: 188.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (errTot.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext,sim.inputSolTTH.nextTimeEvent,sim.inputSolTTH.nextTimeEventScaled,$whenCondition4,validationDataN2Exp1.data.nextTimeEvent,validationDataN2Exp1.data.nextTimeEventScaled) * Number of discrete states: 6 (validationDataN2Exp1.data.nextTimeEventScaled,validationDataN2Exp1.data.nextTimeEvent,sim.inputSolTTH.nextTimeEvent,sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,sim.inputSolTTH.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (397): * Single equations (assignments): 388 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,20), (2,11), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003115/1.697, allocations: 1.068 MB / 0.9275 GB, free: 188 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0172/1.714, allocations: 6.351 MB / 0.9337 GB, free: 185.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/1.714, allocations: 0 / 0.9337 GB, free: 185.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007865/1.722, allocations: 3.195 MB / 0.9369 GB, free: 184.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003839/1.726, allocations: 0.5671 MB / 0.9374 GB, free: 184.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/1.746, allocations: 12.03 MB / 0.9492 GB, free: 173.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002156/1.749, allocations: 3.035 MB / 0.9521 GB, free: 170.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006056/1.755, allocations: 1.308 MB / 0.9534 GB, free: 169.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002045/1.757, allocations: 483 kB / 0.9539 GB, free: 168.7 MB / 0.67 GB Notification: Performance of SimCode: time 9.52e-07/1.757, allocations: 4 kB / 0.9539 GB, free: 168.7 MB / 0.67 GB Notification: Performance of Templates: time 0.0961/1.853, allocations: 65.61 MB / 1.018 GB, free: 103.4 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation.makefile (rm -f IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation.pipe ; mkfifo IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation.pipe >> ../files/IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation.sim & ./IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation.pipe 2>&1)