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.001412/0.001412, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001822/0.001822, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.5/1.5, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7597/0.7597, allocations: 132.2 MB / 422.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 64.36 kB / 0.5013 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4367, allocations: 80.2 MB / 0.5796 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation): time 0.01189/0.4486, allocations: 9.644 MB / 0.589 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1806/0.6293, allocations: 154.6 MB / 0.74 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003818/0.6331, allocations: 47.75 kB / 0.7401 GB, free: 12.8 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.001826/0.635, allocations: 329.4 kB / 0.7404 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005171/0.6402, allocations: 1.076 MB / 0.7414 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003915/0.6442, allocations: 1.496 MB / 0.7429 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008077/0.6522, allocations: 6.887 MB / 0.7496 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004552/0.6568, allocations: 3.474 MB / 0.753 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005832/0.6627, allocations: 2.731 MB / 0.7557 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004336/0.6671, allocations: 2.891 MB / 0.7585 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001726/0.6688, allocations: 0.7187 MB / 0.7592 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003721/0.6725, allocations: 1.659 MB / 0.7608 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001555/0.6741, allocations: 1.606 MB / 0.7624 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003882/0.678, allocations: 2.877 MB / 0.7652 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.6881, allocations: 8.737 MB / 0.7737 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.6882, allocations: 4 kB / 0.7738 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6882, allocations: 0 / 0.7738 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002554/0.6885, allocations: 0 / 0.7738 GB, free: 10.2 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.01485/0.7033, allocations: 5.79 MB / 0.7794 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.7034, allocations: 12.03 kB / 0.7794 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01729/0.7207, allocations: 2.338 MB / 0.7817 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007971/0.7287, allocations: 3.354 MB / 0.785 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00031/0.7291, allocations: 353.1 kB / 0.7853 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/0.7307, allocations: 436 kB / 0.7857 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01823/0.7489, allocations: 7.058 MB / 0.7926 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/0.7491, allocations: 3.938 kB / 0.7926 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008799/0.75, allocations: 188 kB / 0.7928 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.934e-05/0.7501, allocations: 112 kB / 0.7929 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02545/0.7755, allocations: 10.24 MB / 0.8029 GB, free: 12 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.4114/1.187, allocations: 22.17 MB / 0.8246 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02189/1.209, allocations: 7.992 MB / 0.8324 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008218/1.217, allocations: 3.087 MB / 0.8354 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/1.219, allocations: 1.15 MB / 0.8365 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009564/1.228, allocations: 3.621 MB / 0.84 GB, free: 196 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=399): time 1.297e-05/1.228, allocations: 0 / 0.84 GB, free: 196 MB / 0.6387 GB Notification: Performance of matching and sorting (n=399): time 0.04399/1.272, allocations: 12.09 MB / 0.8519 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/1.272, allocations: 303.5 kB / 0.8521 GB, free: 189.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005028/1.277, allocations: 2.826 MB / 0.8549 GB, free: 187.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.00142/1.279, allocations: 120.4 kB / 0.855 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001543/1.28, allocations: 1.775 MB / 0.8568 GB, free: 186.1 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002188/1.283, allocations: 1.35 MB / 0.8581 GB, free: 184.7 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003621/1.286, allocations: 0.8441 MB / 0.8589 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.009e-05/1.286, allocations: 304.1 kB / 0.8592 GB, free: 183.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006963/1.293, allocations: 2.775 MB / 0.8619 GB, free: 180.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00745/1.301, allocations: 3.249 MB / 0.8651 GB, free: 177.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01439/1.315, allocations: 5.948 MB / 0.8709 GB, free: 171.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.518e-05/1.315, allocations: 4 kB / 0.8709 GB, free: 171.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=480) (initialization): time 0.02551/1.341, allocations: 8.251 MB / 0.8789 GB, free: 163.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/1.341, allocations: 18.31 kB / 0.879 GB, free: 163.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.341, allocations: 4 kB / 0.879 GB, free: 163.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007022/1.348, allocations: 1.568 MB / 0.8805 GB, free: 161.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006136/1.354, allocations: 1.072 MB / 0.8815 GB, free: 160.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005854/1.36, allocations: 4.416 MB / 0.8859 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006323/1.366, allocations: 0.6561 MB / 0.8865 GB, free: 155.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001436/1.368, allocations: 223.8 kB / 0.8867 GB, free: 155 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.004812/1.373, allocations: 1.349 MB / 0.888 GB, free: 153.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002151/1.375, allocations: 351.6 kB / 0.8884 GB, free: 153.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01969/1.394, allocations: 6.873 MB / 0.8951 GB, free: 146.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.934e-05/1.395, allocations: 40 kB / 0.8951 GB, free: 146.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/1.395, allocations: 4 kB / 0.8951 GB, free: 146.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.244e-05/1.395, allocations: 19.92 kB / 0.8951 GB, free: 146.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03151/1.426, allocations: 13.29 MB / 0.9081 GB, free: 132.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.172e-05/1.426, allocations: 0 / 0.9081 GB, free: 132.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005086/1.431, allocations: 0.9127 MB / 0.909 GB, free: 131.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005086/1.436, allocations: 1.292 MB / 0.9103 GB, free: 130.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001285/1.438, allocations: 123.8 kB / 0.9104 GB, free: 130.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00459/1.442, allocations: 4.133 MB / 0.9144 GB, free: 126.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.442, allocations: 0 / 0.9144 GB, free: 126.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02789/1.47, allocations: 10.99 MB / 0.9251 GB, free: 115.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004061/1.474, allocations: 1.163 MB / 0.9263 GB, free: 113.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002051/1.476, allocations: 123.5 kB / 0.9264 GB, free: 113.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004966/1.481, allocations: 427.5 kB / 0.9268 GB, free: 113.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00105/1.483, allocations: 267 kB / 0.9271 GB, free: 113.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009215/1.483, allocations: 159.9 kB / 0.9272 GB, free: 113 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003979/1.487, allocations: 2.11 MB / 0.9293 GB, free: 110.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.8e-07/1.488, allocations: 0 / 0.9293 GB, free: 110.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005522/1.493, allocations: 1.279 MB / 0.9305 GB, free: 109.6 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.003367/1.496, allocations: 1.077 MB / 0.9316 GB, free: 109 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02746/1.524, allocations: 10.1 MB / 0.9414 GB, free: 98.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.524, allocations: 0.625 kB / 0.9414 GB, free: 98.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.008092/1.532, allocations: 3.218 MB / 0.9446 GB, free: 95.67 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005356/1.537, allocations: 0.5804 MB / 0.9451 GB, free: 95.12 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02251/1.56, allocations: 12.02 MB / 0.9569 GB, free: 83.06 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00358/1.564, allocations: 3.035 MB / 0.9598 GB, free: 79.99 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.007072/1.571, allocations: 1.304 MB / 0.9611 GB, free: 78.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002888/1.574, allocations: 483 kB / 0.9616 GB, free: 78.21 MB / 0.6387 GB Notification: Performance of SimCode: time 1.533e-06/1.574, allocations: 0 / 0.9616 GB, free: 78.21 MB / 0.6387 GB Notification: Performance of Templates: time 0.09467/1.668, allocations: 67.95 MB / 1.028 GB, free: 10.56 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)