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.00136/0.00136, allocations: 118.2 kB / 16.42 MB, free: 6.012 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.001324/0.001324, allocations: 183 kB / 17.35 MB, free: 5.629 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.773/0.773, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 57.94 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1243, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation): time 0.01092/0.1353, allocations: 9.738 MB / 0.6698 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4664/0.6017, allocations: 157 MB / 0.8231 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.6036, allocations: 40.91 kB / 0.8232 GB, free: 6.219 MB / 0.5919 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.001454/0.6051, allocations: 444.1 kB / 0.8236 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003967/0.6091, allocations: 1.274 MB / 0.8248 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003696/0.6128, allocations: 1.65 MB / 0.8265 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006727/0.6196, allocations: 6.895 MB / 0.8332 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004711/0.6243, allocations: 3.464 MB / 0.8366 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004493/0.6288, allocations: 2.743 MB / 0.8392 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004103/0.6329, allocations: 2.883 MB / 0.8421 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001567/0.6345, allocations: 0.7141 MB / 0.8428 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003701/0.6382, allocations: 1.682 MB / 0.8444 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00204/0.6403, allocations: 1.609 MB / 0.846 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003759/0.644, allocations: 2.867 MB / 0.8488 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009055/0.6531, allocations: 8.952 MB / 0.8575 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6531, allocations: 0 / 0.8575 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6531, allocations: 0 / 0.8575 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001531/0.6533, allocations: 0 / 0.8575 GB, free: 11.98 MB / 0.6231 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.01206/0.6654, allocations: 5.792 MB / 0.8632 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.6654, allocations: 8.031 kB / 0.8632 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0177/0.6831, allocations: 2.35 MB / 0.8655 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006926/0.6901, allocations: 3.39 MB / 0.8688 GB, free: 280 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002705/0.6904, allocations: 345.2 kB / 0.8691 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.6914, allocations: 444 kB / 0.8695 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.7074, allocations: 7.055 MB / 0.8764 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.845e-05/0.7075, allocations: 11.92 kB / 0.8764 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005251/0.708, allocations: 188 kB / 0.8766 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.493e-05/0.7081, allocations: 115.9 kB / 0.8767 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02301/0.7312, allocations: 10.25 MB / 0.8867 GB, free: 13.74 MB / 0.6544 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.03821/0.7694, allocations: 22.01 MB / 0.9082 GB, free: 6.473 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02228/0.7917, allocations: 7.993 MB / 0.916 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008066/0.7998, allocations: 3.083 MB / 0.919 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/0.8013, allocations: 1.16 MB / 0.9202 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00951/0.8108, allocations: 3.621 MB / 0.9237 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=399): time 8.476e-06/0.8109, allocations: 4 kB / 0.9237 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=399): time 0.04488/0.8558, allocations: 12.09 MB / 0.9355 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.8559, allocations: 300.2 kB / 0.9358 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00464/0.8606, allocations: 2.833 MB / 0.9386 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000905/0.8615, allocations: 109.7 kB / 0.9387 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.8632, allocations: 1.779 MB / 0.9404 GB, free: 5 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001797/0.865, allocations: 1.348 MB / 0.9417 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002407/0.8674, allocations: 0.8441 MB / 0.9426 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.8675, allocations: 301.1 kB / 0.9428 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007509/0.875, allocations: 2.771 MB / 0.9455 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007988/0.883, allocations: 3.247 MB / 0.9487 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/0.8986, allocations: 5.939 MB / 0.9545 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/0.8987, allocations: 8 kB / 0.9545 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=480) (initialization): time 0.02534/0.924, allocations: 8.243 MB / 0.9626 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.9241, allocations: 11.94 kB / 0.9626 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.9241, allocations: 11.94 kB / 0.9626 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00774/0.9318, allocations: 1.57 MB / 0.9641 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006122/0.938, allocations: 1.073 MB / 0.9652 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00692/0.9449, allocations: 4.42 MB / 0.9695 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005614/0.9506, allocations: 0.6538 MB / 0.9701 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009681/0.9515, allocations: 215.8 kB / 0.9703 GB, free: 5.828 MB / 0.7325 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.003398/0.9549, allocations: 1.348 MB / 0.9717 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/0.9563, allocations: 363.5 kB / 0.972 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01887/0.9752, allocations: 6.869 MB / 0.9787 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.416e-05/0.9753, allocations: 19.92 kB / 0.9787 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.9753, allocations: 0 / 0.9787 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002506/0.9778, allocations: 1.159 MB / 0.9799 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001043/0.9789, allocations: 123.6 kB / 0.98 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004113/0.983, allocations: 415.5 kB / 0.9804 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006033/0.9836, allocations: 267 kB / 0.9806 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02179/1.005, allocations: 7.547 MB / 0.988 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02287/1.028, allocations: 10.05 MB / 0.9978 GB, free: 9.504 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00634/1.035, allocations: 2.861 MB / 1.001 GB, free: 6.633 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003676/1.038, allocations: 2.102 MB / 1.003 GB, free: 4.535 MB / 0.7637 GB Notification: Performance of Backend: time 7.61e-07/1.038, allocations: 0 / 1.003 GB, free: 4.535 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01571/1.054, allocations: 5.184 MB / 1.008 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of SimCode: time 0.01465/1.069, allocations: 8.461 MB / 1.016 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of Templates: time 0.4032/1.472, allocations: 78.48 MB / 1.093 GB, free: 284.4 MB / 0.8106 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)