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.001008/0.001008, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007809/0.007809, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7972/0.7972, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 8 kB / 0.504 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4835, allocations: 81.57 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation): time 0.01092/0.4945, allocations: 9.071 MB / 0.5925 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1881/0.6827, allocations: 152.9 MB / 0.7419 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00302/0.6857, allocations: 43.75 kB / 0.7419 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.6869, allocations: 333.4 kB / 0.7422 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003761/0.6907, allocations: 1.044 MB / 0.7433 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00342/0.6941, allocations: 1.485 MB / 0.7447 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007113/0.7012, allocations: 6.34 MB / 0.7509 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004601/0.7059, allocations: 3.255 MB / 0.7541 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004798/0.7107, allocations: 1.787 MB / 0.7558 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003532/0.7142, allocations: 2.028 MB / 0.7578 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001073/0.7153, allocations: 144 kB / 0.758 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003365/0.7187, allocations: 1.081 MB / 0.759 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001588/0.7203, allocations: 0.8952 MB / 0.7599 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002653/0.7229, allocations: 2.117 MB / 0.7619 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008059/0.731, allocations: 8.11 MB / 0.7699 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.731, allocations: 0 / 0.7699 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.154e-06/0.731, allocations: 0 / 0.7699 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002034/0.7312, allocations: 0 / 0.7699 GB, free: 1.07 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: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.01071/0.742, allocations: 4.613 MB / 0.7744 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.742, allocations: 12.03 kB / 0.7744 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0177/0.7597, allocations: 2.471 MB / 0.7768 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007208/0.767, allocations: 3.343 MB / 0.7801 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/0.7673, allocations: 345.1 kB / 0.7804 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008614/0.7681, allocations: 440 kB / 0.7808 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.784, allocations: 7.113 MB / 0.7878 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.888e-05/0.7841, allocations: 11.88 kB / 0.7878 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005149/0.7846, allocations: 184 kB / 0.7879 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.636e-05/0.7847, allocations: 112 kB / 0.7881 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0236/0.8083, allocations: 10.34 MB / 0.7981 GB, free: 3.793 MB / 0.6231 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.3962/1.205, allocations: 22.22 MB / 0.8198 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02458/1.229, allocations: 8.002 MB / 0.8277 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009225/1.238, allocations: 3.093 MB / 0.8307 GB, free: 202.2 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/1.24, allocations: 1.153 MB / 0.8318 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01048/1.25, allocations: 3.631 MB / 0.8354 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=399): time 2.295e-05/1.25, allocations: 1 kB / 0.8354 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=399): time 0.0446/1.295, allocations: 12.17 MB / 0.8472 GB, free: 194.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.295, allocations: 304.8 kB / 0.8475 GB, free: 194.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004936/1.3, allocations: 2.824 MB / 0.8503 GB, free: 192.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/1.301, allocations: 119.6 kB / 0.8504 GB, free: 192.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00154/1.303, allocations: 1.772 MB / 0.8521 GB, free: 191 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001948/1.305, allocations: 1.342 MB / 0.8534 GB, free: 189.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001217/1.306, allocations: 307.8 kB / 0.8537 GB, free: 189.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.43e-05/1.306, allocations: 305.1 kB / 0.854 GB, free: 189.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007392/1.314, allocations: 2.793 MB / 0.8568 GB, free: 187 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00772/1.321, allocations: 3.249 MB / 0.8599 GB, free: 183.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/1.336, allocations: 5.961 MB / 0.8657 GB, free: 177.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.461e-05/1.336, allocations: 7.938 kB / 0.8658 GB, free: 177.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=480) (initialization): time 0.02424/1.36, allocations: 8.291 MB / 0.8739 GB, free: 169.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/1.36, allocations: 8 kB / 0.8739 GB, free: 169.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/1.36, allocations: 8 kB / 0.8739 GB, free: 169.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007225/1.368, allocations: 1.583 MB / 0.8754 GB, free: 167.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005907/1.374, allocations: 1.08 MB / 0.8765 GB, free: 166.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/1.379, allocations: 4.303 MB / 0.8807 GB, free: 162 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006239/1.386, allocations: 0.6708 MB / 0.8813 GB, free: 161.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001182/1.387, allocations: 215.8 kB / 0.8815 GB, free: 161.2 MB / 0.6387 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.004388/1.391, allocations: 1.356 MB / 0.8829 GB, free: 159.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001566/1.393, allocations: 355.6 kB / 0.8832 GB, free: 159.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01888/1.412, allocations: 6.888 MB / 0.8899 GB, free: 152.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.421e-05/1.412, allocations: 43.98 kB / 0.89 GB, free: 152.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/1.412, allocations: 4 kB / 0.89 GB, free: 152.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-05/1.412, allocations: 27.84 kB / 0.89 GB, free: 152.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02883/1.441, allocations: 13.32 MB / 0.903 GB, free: 139 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.59e-05/1.441, allocations: 0 / 0.903 GB, free: 139 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004767/1.445, allocations: 0.9167 MB / 0.9039 GB, free: 138.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005305/1.451, allocations: 1.31 MB / 0.9052 GB, free: 136.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008086/1.452, allocations: 127.9 kB / 0.9053 GB, free: 136.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004487/1.456, allocations: 4.014 MB / 0.9092 GB, free: 132.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.456, allocations: 0 / 0.9092 GB, free: 132.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02635/1.483, allocations: 11.05 MB / 0.92 GB, free: 121.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002785/1.485, allocations: 1.26 MB / 0.9212 GB, free: 120 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001329/1.487, allocations: 100 kB / 0.9213 GB, free: 119.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004546/1.491, allocations: 442.7 kB / 0.9218 GB, free: 119.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007581/1.492, allocations: 279 kB / 0.922 GB, free: 119.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000594/1.493, allocations: 155.9 kB / 0.9222 GB, free: 119.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003737/1.496, allocations: 2.102 MB / 0.9242 GB, free: 117 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.6e-07/1.496, allocations: 0 / 0.9242 GB, free: 117 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004407/1.501, allocations: 1.294 MB / 0.9255 GB, free: 115.7 MB / 0.6387 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.002919/1.504, allocations: 1.059 MB / 0.9265 GB, free: 115.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01543/1.519, allocations: 6.377 MB / 0.9327 GB, free: 108.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.519, allocations: 0 / 0.9327 GB, free: 108.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.007274/1.527, allocations: 3.214 MB / 0.9359 GB, free: 105.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004433/1.531, allocations: 0.5667 MB / 0.9364 GB, free: 104.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/1.552, allocations: 12.07 MB / 0.9482 GB, free: 92.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003213/1.555, allocations: 3.038 MB / 0.9512 GB, free: 89.72 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006717/1.562, allocations: 1.316 MB / 0.9525 GB, free: 88.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002773/1.565, allocations: 479 kB / 0.9529 GB, free: 87.93 MB / 0.6387 GB Notification: Performance of SimCode: time 1.042e-06/1.565, allocations: 4 kB / 0.9529 GB, free: 87.93 MB / 0.6387 GB Notification: Performance of Templates: time 0.09406/1.659, allocations: 64.51 MB / 1.016 GB, free: 23.68 MB / 0.6387 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)