Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=11956,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 183 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7199/0.7199, allocations: 133.3 MB / 150.1 MB, free: 11.2 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 222.9 MB / 404.7 MB, free: 6.121 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 115.3 kB / 485.9 MB, free: 7.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1843, allocations: 80.42 MB / 0.6422 GB, free: 5.453 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation): time 0.01394/0.1983, allocations: 9.64 MB / 0.6516 GB, free: 11.75 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.6719/0.8703, allocations: 154.6 MB / 0.8025 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.8735, allocations: 47.75 kB / 0.8026 GB, free: 12.93 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-master/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.001908/0.8755, allocations: 321.4 kB / 0.8029 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004834/0.8804, allocations: 1.047 MB / 0.8039 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004143/0.8845, allocations: 1.491 MB / 0.8054 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.008457/0.893, allocations: 6.399 MB / 0.8116 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005257/0.8983, allocations: 3.328 MB / 0.8149 GB, free: 284 kB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006463/0.9048, allocations: 2.185 MB / 0.817 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004572/0.9094, allocations: 2.539 MB / 0.8195 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.002137/0.9116, allocations: 308 kB / 0.8198 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005279/0.9169, allocations: 1.245 MB / 0.821 GB, free: 10 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.002356/0.9193, allocations: 1.176 MB / 0.8221 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00602/0.9253, allocations: 2.42 MB / 0.8245 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.9397, allocations: 8.417 MB / 0.8327 GB, free: 13.95 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.9398, allocations: 4 kB / 0.8327 GB, free: 13.95 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.306e-06/0.9398, allocations: 0 / 0.8327 GB, free: 13.95 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0004286/0.9402, allocations: 0 / 0.8327 GB, free: 13.95 MB / 0.573 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.02289/0.9631, allocations: 5.796 MB / 0.8384 GB, free: 8.062 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 7.259e-05/0.9632, allocations: 15.97 kB / 0.8384 GB, free: 8.047 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01839/0.9816, allocations: 2.338 MB / 0.8407 GB, free: 5.699 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008539/0.9902, allocations: 3.339 MB / 0.8439 GB, free: 2.285 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003269/0.9906, allocations: 345.1 kB / 0.8443 GB, free: 1.945 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002113/0.9927, allocations: 444 kB / 0.8447 GB, free: 1.512 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/1.016, allocations: 7.066 MB / 0.8516 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/1.016, allocations: 3.938 kB / 0.8516 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001867/1.018, allocations: 188 kB / 0.8518 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/1.018, allocations: 115.9 kB / 0.8519 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02814/1.046, allocations: 10.24 MB / 0.8619 GB, free: 15.76 MB / 0.6042 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.05136/1.098, allocations: 22.18 MB / 0.8836 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02416/1.122, allocations: 7.99 MB / 0.8914 GB, free: 312 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009273/1.131, allocations: 3.081 MB / 0.8944 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/1.133, allocations: 1.156 MB / 0.8955 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01158/1.145, allocations: 3.625 MB / 0.899 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=399): time 1.301e-05/1.145, allocations: 0 / 0.899 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=399): time 0.04978/1.195, allocations: 12.1 MB / 0.9108 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002197/1.195, allocations: 308.2 kB / 0.9111 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006283/1.201, allocations: 2.821 MB / 0.9139 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.001445/1.203, allocations: 117.7 kB / 0.914 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.002211/1.205, allocations: 1.775 MB / 0.9157 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.002828/1.208, allocations: 1.348 MB / 0.9171 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004227/1.212, allocations: 0.8402 MB / 0.9179 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.212, allocations: 301.1 kB / 0.9182 GB, free: 4.324 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008694/1.221, allocations: 2.779 MB / 0.9209 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009582/1.23, allocations: 3.243 MB / 0.924 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01786/1.248, allocations: 5.948 MB / 0.9299 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-05/1.248, allocations: 4 kB / 0.9299 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of matching and sorting (n=480) (initialization): time 0.02943/1.278, allocations: 8.255 MB / 0.9379 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/1.278, allocations: 8 kB / 0.9379 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/1.278, allocations: 8 kB / 0.9379 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007674/1.286, allocations: 1.56 MB / 0.9395 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006373/1.292, allocations: 1.076 MB / 0.9405 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006998/1.299, allocations: 4.301 MB / 0.9447 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006359/1.306, allocations: 0.6573 MB / 0.9454 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/1.307, allocations: 215.8 kB / 0.9456 GB, free: 7.781 MB / 0.6823 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.004821/1.312, allocations: 1.36 MB / 0.9469 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00198/1.314, allocations: 359.6 kB / 0.9472 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4025/1.716, allocations: 6.863 MB / 0.9539 GB, free: 247.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.339e-05/1.717, allocations: 42.27 kB / 0.954 GB, free: 247.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/1.717, allocations: 0 / 0.954 GB, free: 247.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001272/1.717, allocations: 24.25 kB / 0.954 GB, free: 247.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03496/1.752, allocations: 13.27 MB / 0.967 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.003e-05/1.752, allocations: 0 / 0.967 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005557/1.757, allocations: 0.9201 MB / 0.9679 GB, free: 242.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005589/1.763, allocations: 1.289 MB / 0.9691 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001238/1.764, allocations: 123.1 kB / 0.9692 GB, free: 242.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00506/1.769, allocations: 4.01 MB / 0.9731 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.769, allocations: 1.375 kB / 0.9731 GB, free: 239.5 MB / 0.6823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "sim.radCon.HDifHor = min(sim.radCon.Hmin1.u)" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08859/1.858, allocations: 23.21 MB / 0.9958 GB, free: 231 MB / 0.6823 GB Error: post-optimization module symbolicJacobian (simulation) failed.