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.001567/0.001567, allocations: 112.6 kB / 16.37 MB, free: 6 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.001573/0.001573, allocations: 196 kB / 17.31 MB, free: 5.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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8591/0.8591, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.88 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.5411, allocations: 80.18 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation): time 0.0114/0.5525, allocations: 9.752 MB / 0.591 GB, free: 19.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1859/0.7385, allocations: 157 MB / 0.7443 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003435/0.742, allocations: 43.81 kB / 0.7444 GB, free: 6.93 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). [/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.001534/0.7436, allocations: 431.7 kB / 0.7448 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00501/0.7486, allocations: 1.254 MB / 0.746 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004263/0.7529, allocations: 1.642 MB / 0.7476 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4879/1.241, allocations: 6.878 MB / 0.7543 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006155/1.247, allocations: 3.464 MB / 0.7577 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007494/1.255, allocations: 2.705 MB / 0.7603 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006403/1.261, allocations: 2.886 MB / 0.7632 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003569/1.265, allocations: 0.7144 MB / 0.7639 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006681/1.271, allocations: 1.681 MB / 0.7655 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003498/1.275, allocations: 1.611 MB / 0.7671 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006335/1.281, allocations: 2.858 MB / 0.7699 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01298/1.294, allocations: 8.948 MB / 0.7786 GB, free: 424 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.445e-06/1.294, allocations: 1 kB / 0.7786 GB, free: 424 kB / 0.5762 GB Notification: Performance of FrontEnd: time 4.148e-06/1.294, allocations: 0 / 0.7786 GB, free: 424 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003786/1.295, allocations: 3.469 kB / 0.7786 GB, free: 424 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.02053/1.315, allocations: 5.793 MB / 0.7843 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.315, allocations: 8.125 kB / 0.7843 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01797/1.333, allocations: 2.339 MB / 0.7866 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00931/1.343, allocations: 3.388 MB / 0.7899 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/1.343, allocations: 351.9 kB / 0.7902 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/1.345, allocations: 439.1 kB / 0.7906 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02184/1.367, allocations: 7.063 MB / 0.7975 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/1.367, allocations: 5.672 kB / 0.7975 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007018/1.368, allocations: 187.3 kB / 0.7977 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.682e-05/1.368, allocations: 111.3 kB / 0.7978 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02656/1.395, allocations: 10.25 MB / 0.8078 GB, free: 10.75 MB / 0.5919 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.05957/1.454, allocations: 22.02 MB / 0.8293 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02853/1.483, allocations: 7.988 MB / 0.8371 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01085/1.494, allocations: 3.081 MB / 0.8401 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002621/1.497, allocations: 1.152 MB / 0.8413 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01258/1.509, allocations: 3.628 MB / 0.8448 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=399): time 1.389e-05/1.509, allocations: 0 / 0.8448 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of matching and sorting (n=399): time 0.05024/1.56, allocations: 12.09 MB / 0.8566 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002181/1.56, allocations: 307.8 kB / 0.8569 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005527/1.565, allocations: 2.825 MB / 0.8597 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001661/1.567, allocations: 121.5 kB / 0.8598 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002064/1.569, allocations: 1.783 MB / 0.8615 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002804/1.572, allocations: 1.343 MB / 0.8628 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002005/1.574, allocations: 0.8402 MB / 0.8636 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.574, allocations: 305.1 kB / 0.8639 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007493/1.582, allocations: 2.779 MB / 0.8666 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008942/1.591, allocations: 3.242 MB / 0.8698 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01652/1.607, allocations: 5.94 MB / 0.8756 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-05/1.607, allocations: 4 kB / 0.8756 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of matching and sorting (n=480) (initialization): time 0.02543/1.633, allocations: 8.238 MB / 0.8837 GB, free: 13.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/1.633, allocations: 8 kB / 0.8837 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/1.633, allocations: 12.62 kB / 0.8837 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007146/1.64, allocations: 1.574 MB / 0.8852 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006573/1.647, allocations: 1.077 MB / 0.8863 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006798/1.653, allocations: 4.409 MB / 0.8906 GB, free: 6.473 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006242/1.66, allocations: 0.6523 MB / 0.8912 GB, free: 5.816 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/1.661, allocations: 223.8 kB / 0.8914 GB, free: 5.598 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.003925/1.665, allocations: 1.347 MB / 0.8927 GB, free: 4.289 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/1.666, allocations: 363.5 kB / 0.8931 GB, free: 3.93 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01781/1.684, allocations: 6.857 MB / 0.8998 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-05/1.684, allocations: 40 kB / 0.8998 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/1.684, allocations: 0 / 0.8998 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.96e-05/1.684, allocations: 23.92 kB / 0.8998 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03073/1.715, allocations: 13.19 MB / 0.9127 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.61e-05/1.715, allocations: 0 / 0.9127 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005503/1.721, allocations: 0.9089 MB / 0.9136 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005382/1.726, allocations: 1.288 MB / 0.9149 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001174/1.727, allocations: 127.9 kB / 0.915 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005468/1.733, allocations: 4.136 MB / 0.919 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.733, allocations: 0 / 0.919 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02844/1.761, allocations: 10.99 MB / 0.9298 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003755/1.765, allocations: 1.167 MB / 0.9309 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001239/1.766, allocations: 125.7 kB / 0.931 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004228/1.77, allocations: 417.2 kB / 0.9314 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006309/1.771, allocations: 271 kB / 0.9317 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004032/1.772, allocations: 159.9 kB / 0.9318 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00355/1.775, allocations: 2.102 MB / 0.9339 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/1.775, allocations: 0 / 0.9339 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005025/1.78, allocations: 1.289 MB / 0.9351 GB, free: 8.512 MB / 0.7169 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.002898/1.783, allocations: 1.066 MB / 0.9362 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01685/1.8, allocations: 6.361 MB / 0.9424 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.8, allocations: 0 / 0.9424 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008221/1.808, allocations: 3.217 MB / 0.9455 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003628/1.812, allocations: 0.595 MB / 0.9461 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/1.833, allocations: 9.821 MB / 0.9557 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00284/1.835, allocations: 3.038 MB / 0.9587 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.005286/1.841, allocations: 1.3 MB / 0.9599 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001879/1.843, allocations: 483 kB / 0.9604 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of SimCode: time 2.405e-06/1.843, allocations: 3.938 kB / 0.9604 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of Templates: time 0.1132/1.956, allocations: 68.14 MB / 1.027 GB, free: 11.53 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation.pipe 2>&1)