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.00814/0.00814, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001484/0.001484, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.801/0.801, allocations: 132.2 MB / 422.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.23 kB / 0.5813 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1794, allocations: 80.2 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation): time 0.01263/0.1921, allocations: 9.748 MB / 0.6692 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5499/0.742, allocations: 157 MB / 0.8225 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002472/0.7445, allocations: 47.38 kB / 0.8225 GB, free: 6.164 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.001442/0.746, allocations: 437.6 kB / 0.8229 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004319/0.7504, allocations: 1.281 MB / 0.8242 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004219/0.7546, allocations: 1.648 MB / 0.8258 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008209/0.7628, allocations: 6.891 MB / 0.8325 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004739/0.7676, allocations: 3.464 MB / 0.8359 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005462/0.7731, allocations: 2.744 MB / 0.8386 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004945/0.778, allocations: 2.883 MB / 0.8414 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002178/0.7802, allocations: 0.7159 MB / 0.8421 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004472/0.7847, allocations: 1.685 MB / 0.8437 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002283/0.787, allocations: 1.609 MB / 0.8453 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00487/0.7919, allocations: 2.864 MB / 0.8481 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.8031, allocations: 8.94 MB / 0.8568 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.8032, allocations: 0 / 0.8568 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8032, allocations: 0 / 0.8568 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002538/0.8034, allocations: 0 / 0.8568 GB, free: 11.97 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.01533/0.8188, allocations: 5.808 MB / 0.8625 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.8188, allocations: 8.031 kB / 0.8625 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01688/0.8357, allocations: 2.346 MB / 0.8648 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007489/0.8433, allocations: 3.386 MB / 0.8681 GB, free: 260 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/0.8436, allocations: 353.2 kB / 0.8685 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001793/0.8454, allocations: 444 kB / 0.8689 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01825/0.8637, allocations: 7.055 MB / 0.8758 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.153e-05/0.8638, allocations: 3.984 kB / 0.8758 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005658/0.8644, allocations: 192 kB / 0.876 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.424e-05/0.8645, allocations: 111.9 kB / 0.8761 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02397/0.8885, allocations: 10.24 MB / 0.8861 GB, free: 13.72 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.04226/0.9308, allocations: 22 MB / 0.9076 GB, free: 6.465 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02191/0.9527, allocations: 8.005 MB / 0.9154 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008268/0.961, allocations: 3.087 MB / 0.9184 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/0.9626, allocations: 1.152 MB / 0.9195 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009751/0.9724, allocations: 3.621 MB / 0.923 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=399): time 9.277e-06/0.9725, allocations: 0 / 0.923 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of matching and sorting (n=399): time 0.04504/1.017, allocations: 12.1 MB / 0.9349 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/1.018, allocations: 300.2 kB / 0.9351 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005459/1.023, allocations: 2.825 MB / 0.9379 GB, free: 6.895 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001239/1.024, allocations: 117.7 kB / 0.938 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001995/1.026, allocations: 1.783 MB / 0.9398 GB, free: 4.969 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002425/1.029, allocations: 1.34 MB / 0.9411 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003726/1.033, allocations: 0.8441 MB / 0.9419 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.221e-05/1.033, allocations: 301.1 kB / 0.9422 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007634/1.04, allocations: 2.779 MB / 0.9449 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00814/1.049, allocations: 3.239 MB / 0.9481 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/1.064, allocations: 5.944 MB / 0.9539 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.238e-05/1.064, allocations: 0 / 0.9539 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=480) (initialization): time 0.02607/1.09, allocations: 8.251 MB / 0.9619 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/1.09, allocations: 9.719 kB / 0.9619 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/1.09, allocations: 8 kB / 0.9619 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007307/1.098, allocations: 1.57 MB / 0.9635 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006307/1.104, allocations: 1.08 MB / 0.9645 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007004/1.111, allocations: 4.406 MB / 0.9688 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006104/1.117, allocations: 0.6483 MB / 0.9695 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001415/1.119, allocations: 223.8 kB / 0.9697 GB, free: 5.805 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.004474/1.123, allocations: 1.348 MB / 0.971 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001868/1.125, allocations: 351.6 kB / 0.9713 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01944/1.144, allocations: 6.873 MB / 0.978 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.132e-05/1.145, allocations: 40 kB / 0.9781 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/1.145, allocations: 0 / 0.9781 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.632e-05/1.145, allocations: 23.86 kB / 0.9781 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03145/1.176, allocations: 13.18 MB / 0.991 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.73e-05/1.176, allocations: 0 / 0.991 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005335/1.181, allocations: 0.905 MB / 0.9919 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005311/1.187, allocations: 1.287 MB / 0.9931 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001068/1.188, allocations: 131.9 kB / 0.9932 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005426/1.193, allocations: 4.129 MB / 0.9973 GB, free: 9.043 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/1.193, allocations: 3.984 kB / 0.9973 GB, free: 9.039 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02995/1.223, allocations: 11 MB / 1.008 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003321/1.227, allocations: 1.163 MB / 1.009 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001745/1.228, allocations: 123.6 kB / 1.009 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004755/1.233, allocations: 419.5 kB / 1.01 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/1.234, allocations: 267 kB / 1.01 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000904/1.235, allocations: 155.9 kB / 1.01 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00476/1.24, allocations: 2.11 MB / 1.012 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.41e-07/1.24, allocations: 0 / 1.012 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005737/1.246, allocations: 1.281 MB / 1.013 GB, free: 8.449 MB / 0.7794 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.003412/1.249, allocations: 1.067 MB / 1.014 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01755/1.267, allocations: 6.365 MB / 1.021 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.267, allocations: 0.625 kB / 1.021 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00857/1.275, allocations: 3.218 MB / 1.024 GB, free: 14.14 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004678/1.28, allocations: 0.6017 MB / 1.024 GB, free: 13.56 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/1.304, allocations: 9.828 MB / 1.034 GB, free: 3.691 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00414/1.308, allocations: 3.038 MB / 1.037 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.006716/1.315, allocations: 1.304 MB / 1.038 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003109/1.318, allocations: 483 kB / 1.039 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of SimCode: time 1.693e-06/1.318, allocations: 0 / 1.039 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of Templates: time 0.6254/1.944, allocations: 69.16 MB / 1.106 GB, free: 183 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)