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.001341/0.001341, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7662/0.7662, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 68.44 kB / 0.5018 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4874, allocations: 80.19 MB / 0.5801 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation): time 0.01183/0.4993, allocations: 9.738 MB / 0.5896 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1797/0.679, allocations: 157 MB / 0.7429 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006444/0.6856, allocations: 39.81 kB / 0.743 GB, free: 10.23 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.003483/0.6892, allocations: 435.7 kB / 0.7434 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008249/0.6974, allocations: 1.25 MB / 0.7446 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004573/0.702, allocations: 1.64 MB / 0.7462 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008573/0.7106, allocations: 6.844 MB / 0.7529 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005308/0.716, allocations: 3.47 MB / 0.7563 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005475/0.7215, allocations: 2.698 MB / 0.7589 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004897/0.7264, allocations: 2.873 MB / 0.7617 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002344/0.7288, allocations: 0.7148 MB / 0.7624 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004476/0.7333, allocations: 1.659 MB / 0.764 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002387/0.7357, allocations: 1.601 MB / 0.7656 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005564/0.7413, allocations: 2.869 MB / 0.7684 GB, free: 80 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.7542, allocations: 8.741 MB / 0.7769 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.7543, allocations: 0 / 0.7769 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7543, allocations: 0 / 0.7769 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003533/0.7546, allocations: 0 / 0.7769 GB, free: 7.312 MB / 0.6075 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.01812/0.7728, allocations: 5.792 MB / 0.7826 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.7728, allocations: 12.03 kB / 0.7826 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01849/0.7913, allocations: 2.338 MB / 0.7849 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/0.8033, allocations: 3.351 MB / 0.7881 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005717/0.8039, allocations: 349.1 kB / 0.7885 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003067/0.807, allocations: 443.9 kB / 0.7889 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02513/0.8322, allocations: 7.058 MB / 0.7958 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/0.8324, allocations: 3.938 kB / 0.7958 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001672/0.8341, allocations: 184 kB / 0.796 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.8342, allocations: 112 kB / 0.7961 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02573/0.8599, allocations: 10.24 MB / 0.8061 GB, free: 9.121 MB / 0.6387 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.3141/1.174, allocations: 22.18 MB / 0.8277 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02121/1.195, allocations: 7.987 MB / 0.8355 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008211/1.204, allocations: 3.081 MB / 0.8386 GB, free: 197 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/1.205, allocations: 1.153 MB / 0.8397 GB, free: 195.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01002/1.215, allocations: 3.621 MB / 0.8432 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=399): time 1.608e-05/1.215, allocations: 1.406 kB / 0.8432 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=399): time 0.04415/1.259, allocations: 12.09 MB / 0.855 GB, free: 187.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/1.259, allocations: 300.5 kB / 0.8553 GB, free: 187.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00483/1.264, allocations: 2.833 MB / 0.8581 GB, free: 185 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001402/1.266, allocations: 121.7 kB / 0.8582 GB, free: 184.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001529/1.267, allocations: 1.774 MB / 0.8599 GB, free: 183.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002138/1.269, allocations: 1.346 MB / 0.8612 GB, free: 181.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003585/1.273, allocations: 0.8441 MB / 0.8621 GB, free: 181 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.34e-05/1.273, allocations: 305.1 kB / 0.8624 GB, free: 180.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006972/1.28, allocations: 2.775 MB / 0.8651 GB, free: 177.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007655/1.288, allocations: 3.249 MB / 0.8682 GB, free: 174.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01481/1.302, allocations: 5.943 MB / 0.874 GB, free: 168.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.59e-05/1.303, allocations: 0 / 0.874 GB, free: 168.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=480) (initialization): time 0.02576/1.328, allocations: 8.258 MB / 0.8821 GB, free: 160.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/1.328, allocations: 8 kB / 0.8821 GB, free: 160.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/1.328, allocations: 12 kB / 0.8821 GB, free: 160.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006797/1.335, allocations: 1.567 MB / 0.8837 GB, free: 158.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005828/1.341, allocations: 1.076 MB / 0.8847 GB, free: 157.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005734/1.347, allocations: 4.41 MB / 0.889 GB, free: 152.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006142/1.353, allocations: 0.6523 MB / 0.8896 GB, free: 152.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001374/1.354, allocations: 223.8 kB / 0.8899 GB, free: 152 MB / 0.6387 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.004701/1.359, allocations: 1.344 MB / 0.8912 GB, free: 150.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001995/1.361, allocations: 355.6 kB / 0.8915 GB, free: 150.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01992/1.381, allocations: 6.879 MB / 0.8982 GB, free: 143.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.769e-05/1.381, allocations: 44 kB / 0.8983 GB, free: 143.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/1.381, allocations: 4 kB / 0.8983 GB, free: 143.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.25e-05/1.381, allocations: 23.86 kB / 0.8983 GB, free: 143.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03231/1.414, allocations: 13.28 MB / 0.9113 GB, free: 129.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/1.414, allocations: 0 / 0.9113 GB, free: 129.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005116/1.419, allocations: 0.9088 MB / 0.9122 GB, free: 129 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005228/1.424, allocations: 1.292 MB / 0.9134 GB, free: 127.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001276/1.425, allocations: 123.9 kB / 0.9135 GB, free: 127.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004619/1.43, allocations: 4.129 MB / 0.9176 GB, free: 123.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.43, allocations: 0 / 0.9176 GB, free: 123.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02813/1.458, allocations: 11 MB / 0.9283 GB, free: 112.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003185/1.461, allocations: 1.163 MB / 0.9294 GB, free: 111 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001859/1.463, allocations: 131.5 kB / 0.9296 GB, free: 110.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004883/1.468, allocations: 420.9 kB / 0.93 GB, free: 110.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/1.469, allocations: 263 kB / 0.9302 GB, free: 110.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009977/1.47, allocations: 163.9 kB / 0.9304 GB, free: 110.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004037/1.474, allocations: 2.11 MB / 0.9324 GB, free: 107.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/1.474, allocations: 0 / 0.9324 GB, free: 107.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005641/1.48, allocations: 1.279 MB / 0.9337 GB, free: 106.7 MB / 0.6387 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.003308/1.483, allocations: 1.069 MB / 0.9347 GB, free: 106.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02688/1.51, allocations: 10.1 MB / 0.9446 GB, free: 96 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.51, allocations: 0.625 kB / 0.9446 GB, free: 96 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.008254/1.519, allocations: 3.222 MB / 0.9477 GB, free: 92.76 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005184/1.524, allocations: 0.5892 MB / 0.9483 GB, free: 92.21 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/1.546, allocations: 9.938 MB / 0.958 GB, free: 82.23 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003474/1.55, allocations: 3.035 MB / 0.961 GB, free: 79.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.007382/1.557, allocations: 1.304 MB / 0.9623 GB, free: 77.85 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003026/1.56, allocations: 495 kB / 0.9627 GB, free: 77.37 MB / 0.6387 GB Notification: Performance of SimCode: time 9.02e-07/1.56, allocations: 0 / 0.9627 GB, free: 77.37 MB / 0.6387 GB Notification: Performance of Templates: time 0.1004/1.661, allocations: 68.14 MB / 1.029 GB, free: 9.543 MB / 0.6387 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)