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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7418/0.7418, allocations: 132.2 MB / 148.9 MB, free: 12.14 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.399/1.399, allocations: 222.9 MB / 403.3 MB, free: 7.039 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.001031/0.001031, allocations: 106.5 kB / 484.3 MB, free: 8.688 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009986/0.0009987, allocations: 51.91 kB / 0.5619 GB, free: 71.02 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1761, allocations: 80.2 MB / 0.6402 GB, free: 6.754 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation): time 0.01114/0.1873, allocations: 9.651 MB / 0.6496 GB, free: 13.04 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5127/0.7, allocations: 154.6 MB / 0.8006 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/0.7028, allocations: 39.81 kB / 0.8006 GB, free: 14.86 MB / 0.5417 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.001612/0.7045, allocations: 329.3 kB / 0.8009 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0042/0.7087, allocations: 1.049 MB / 0.802 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00389/0.7126, allocations: 1.482 MB / 0.8034 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.007705/0.7203, allocations: 6.391 MB / 0.8096 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00471/0.725, allocations: 3.337 MB / 0.8129 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005959/0.731, allocations: 2.186 MB / 0.815 GB, free: 24 kB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004319/0.7354, allocations: 2.547 MB / 0.8175 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.00149/0.7369, allocations: 308 kB / 0.8178 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003611/0.7405, allocations: 1.241 MB / 0.819 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.7418, allocations: 1.165 MB / 0.8202 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.003638/0.7455, allocations: 2.424 MB / 0.8225 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.009994/0.7555, allocations: 8.421 MB / 0.8308 GB, free: 15.87 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.7556, allocations: 0 / 0.8308 GB, free: 15.87 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7556, allocations: 0 / 0.8308 GB, free: 15.87 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002863/0.7559, allocations: 0 / 0.8308 GB, free: 15.87 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.01598/0.7718, allocations: 5.804 MB / 0.8364 GB, free: 9.977 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.7719, allocations: 12.02 kB / 0.8364 GB, free: 9.965 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01672/0.7886, allocations: 2.342 MB / 0.8387 GB, free: 7.613 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008131/0.7968, allocations: 3.335 MB / 0.842 GB, free: 4.203 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003671/0.7972, allocations: 345.1 kB / 0.8423 GB, free: 3.863 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002058/0.7993, allocations: 444 kB / 0.8427 GB, free: 3.43 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02169/0.821, allocations: 7.058 MB / 0.8496 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001614/0.8212, allocations: 7.938 kB / 0.8496 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001811/0.8231, allocations: 188 kB / 0.8498 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.8232, allocations: 115.9 kB / 0.8499 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02592/0.8491, allocations: 10.24 MB / 0.8599 GB, free: 1.672 MB / 0.5886 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.04835/0.8975, allocations: 22.18 MB / 0.8816 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02312/0.9207, allocations: 7.986 MB / 0.8894 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009183/0.93, allocations: 3.083 MB / 0.8924 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001634/0.9316, allocations: 1.156 MB / 0.8935 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0109/0.9426, allocations: 3.621 MB / 0.8971 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=399): time 1.153e-05/0.9426, allocations: 0 / 0.8971 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=399): time 0.04683/0.9895, allocations: 12.09 MB / 0.9089 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001964/0.9897, allocations: 304.2 kB / 0.9092 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005964/0.9957, allocations: 2.833 MB / 0.9119 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.001497/0.9972, allocations: 109.7 kB / 0.912 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.002175/0.9994, allocations: 1.775 MB / 0.9138 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.002657/1.002, allocations: 1.348 MB / 0.9151 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004288/1.006, allocations: 0.8441 MB / 0.9159 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.007, allocations: 301.1 kB / 0.9162 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008373/1.015, allocations: 2.783 MB / 0.9189 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009218/1.024, allocations: 3.242 MB / 0.9221 GB, free: 108 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01746/1.042, allocations: 5.944 MB / 0.9279 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.3e-05/1.042, allocations: 7.938 kB / 0.9279 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of matching and sorting (n=480) (initialization): time 0.02937/1.071, allocations: 8.252 MB / 0.9359 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/1.071, allocations: 9.469 kB / 0.936 GB, free: 1.723 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/1.071, allocations: 8 kB / 0.936 GB, free: 1.715 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007328/1.079, allocations: 1.559 MB / 0.9375 GB, free: 148 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006472/1.085, allocations: 1.076 MB / 0.9385 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00731/1.093, allocations: 4.308 MB / 0.9427 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006592/1.099, allocations: 0.6638 MB / 0.9434 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/1.101, allocations: 219.8 kB / 0.9436 GB, free: 9.691 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.005161/1.106, allocations: 1.357 MB / 0.9449 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00219/1.108, allocations: 351.6 kB / 0.9453 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02293/1.131, allocations: 6.873 MB / 0.952 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.438e-05/1.131, allocations: 40 kB / 0.952 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.167e-05/1.131, allocations: 0 / 0.952 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/1.131, allocations: 19.92 kB / 0.952 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4339/1.565, allocations: 13.27 MB / 0.965 GB, free: 246 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.842e-05/1.565, allocations: 0.5625 kB / 0.965 GB, free: 246 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005945/1.571, allocations: 0.9088 MB / 0.9659 GB, free: 245.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006288/1.578, allocations: 1.292 MB / 0.9671 GB, free: 245.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001474/1.579, allocations: 124.2 kB / 0.9673 GB, free: 245.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005706/1.585, allocations: 4.02 MB / 0.9712 GB, free: 242.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.585, allocations: 0 / 0.9712 GB, free: 242.7 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.09645/1.682, allocations: 23.2 MB / 0.9938 GB, free: 233.9 MB / 0.6823 GB Error: post-optimization module symbolicJacobian (simulation) failed.