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.006392/0.006392, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001237/0.001237, allocations: 194.9 kB / 16.67 MB, free: 5.969 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7381/0.7381, allocations: 132.2 MB / 422.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.91 kB / 0.5813 GB, free: 7.496 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.4553, allocations: 80.2 MB / 0.6597 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation): time 0.01026/0.4656, allocations: 9.753 MB / 0.6692 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1777/0.6433, allocations: 157 MB / 0.8225 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003103/0.6465, allocations: 43.81 kB / 0.8225 GB, free: 14.82 MB / 0.6544 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.001503/0.6481, allocations: 435.7 kB / 0.8229 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004414/0.6525, allocations: 1.255 MB / 0.8242 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003543/0.6561, allocations: 1.638 MB / 0.8258 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007169/0.6632, allocations: 6.89 MB / 0.8325 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004089/0.6673, allocations: 3.466 MB / 0.8359 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004834/0.6722, allocations: 2.698 MB / 0.8385 GB, free: 14.38 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004536/0.6767, allocations: 2.889 MB / 0.8413 GB, free: 11.47 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001446/0.6782, allocations: 0.7109 MB / 0.842 GB, free: 10.76 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/0.6818, allocations: 1.678 MB / 0.8437 GB, free: 9.082 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.6832, allocations: 1.609 MB / 0.8452 GB, free: 7.469 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003523/0.6867, allocations: 2.869 MB / 0.848 GB, free: 4.586 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.697, allocations: 8.98 MB / 0.8568 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.6971, allocations: 0 / 0.8568 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6971, allocations: 0 / 0.8568 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002229/0.6973, allocations: 4 kB / 0.8568 GB, free: 11.57 MB / 0.6856 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.01307/0.7104, allocations: 5.953 MB / 0.8626 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.7105, allocations: 8.031 kB / 0.8626 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/0.7268, allocations: 2.372 MB / 0.865 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4029/1.13, allocations: 3.396 MB / 0.8683 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004413/1.13, allocations: 346.7 kB / 0.8686 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002021/1.132, allocations: 447.1 kB / 0.869 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02029/1.153, allocations: 7.06 MB / 0.8759 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.792e-05/1.153, allocations: 8.672 kB / 0.8759 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005617/1.153, allocations: 183.8 kB / 0.8761 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002247/1.154, allocations: 112.9 kB / 0.8762 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02536/1.179, allocations: 10.25 MB / 0.8862 GB, free: 180.1 MB / 0.6856 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.0395/1.218, allocations: 22.06 MB / 0.9078 GB, free: 162.7 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02122/1.24, allocations: 7.984 MB / 0.9156 GB, free: 158.9 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007603/1.247, allocations: 3.092 MB / 0.9186 GB, free: 156.1 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/1.249, allocations: 1.154 MB / 0.9197 GB, free: 154.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009133/1.258, allocations: 3.626 MB / 0.9233 GB, free: 151.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=399): time 1.184e-05/1.258, allocations: 0 / 0.9233 GB, free: 151.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=399): time 0.04227/1.3, allocations: 12.09 MB / 0.9351 GB, free: 138.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.3, allocations: 304.2 kB / 0.9354 GB, free: 138.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004969/1.305, allocations: 2.828 MB / 0.9381 GB, free: 135.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001268/1.307, allocations: 121.7 kB / 0.9382 GB, free: 135.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001543/1.308, allocations: 1.817 MB / 0.94 GB, free: 133.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002041/1.31, allocations: 1.414 MB / 0.9414 GB, free: 132.7 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003403/1.314, allocations: 0.8444 MB / 0.9422 GB, free: 131.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.771e-05/1.314, allocations: 305.1 kB / 0.9425 GB, free: 131.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006967/1.321, allocations: 2.771 MB / 0.9452 GB, free: 128.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007276/1.328, allocations: 3.247 MB / 0.9484 GB, free: 125.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01401/1.342, allocations: 5.946 MB / 0.9542 GB, free: 119.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.412e-05/1.342, allocations: 4 kB / 0.9542 GB, free: 119.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=480) (initialization): time 0.02369/1.366, allocations: 8.262 MB / 0.9623 GB, free: 111.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/1.366, allocations: 15.98 kB / 0.9623 GB, free: 111 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/1.366, allocations: 8 kB / 0.9623 GB, free: 111 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006833/1.373, allocations: 1.568 MB / 0.9638 GB, free: 109.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005909/1.379, allocations: 1.076 MB / 0.9649 GB, free: 108.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005746/1.385, allocations: 4.417 MB / 0.9692 GB, free: 103.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006149/1.391, allocations: 0.6616 MB / 0.9698 GB, free: 103.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001411/1.392, allocations: 219.8 kB / 0.97 GB, free: 103 MB / 0.6856 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.004533/1.397, allocations: 1.352 MB / 0.9714 GB, free: 101.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001947/1.399, allocations: 377.6 kB / 0.9717 GB, free: 101.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/1.417, allocations: 6.874 MB / 0.9784 GB, free: 94.32 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.329e-05/1.417, allocations: 48 kB / 0.9785 GB, free: 94.27 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/1.417, allocations: 0 / 0.9785 GB, free: 94.27 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.126e-05/1.417, allocations: 19.92 kB / 0.9785 GB, free: 94.25 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02903/1.446, allocations: 13.18 MB / 0.9914 GB, free: 80.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.557e-05/1.446, allocations: 0 / 0.9914 GB, free: 80.96 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00477/1.451, allocations: 0.9127 MB / 0.9922 GB, free: 80.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004854/1.456, allocations: 1.294 MB / 0.9935 GB, free: 78.74 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00102/1.457, allocations: 123.9 kB / 0.9936 GB, free: 78.62 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004556/1.462, allocations: 4.127 MB / 0.9977 GB, free: 74.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.462, allocations: 4.031 kB / 0.9977 GB, free: 74.29 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02714/1.489, allocations: 11.01 MB / 1.008 GB, free: 63.21 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003159/1.492, allocations: 1.185 MB / 1.01 GB, free: 62 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001619/1.494, allocations: 123.8 kB / 1.01 GB, free: 61.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004538/1.498, allocations: 424.4 kB / 1.01 GB, free: 61.47 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008116/1.499, allocations: 267 kB / 1.01 GB, free: 61.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006806/1.5, allocations: 155.9 kB / 1.01 GB, free: 61.05 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003916/1.504, allocations: 2.11 MB / 1.013 GB, free: 58.95 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/1.504, allocations: 0 / 1.013 GB, free: 58.95 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005144/1.509, allocations: 1.297 MB / 1.014 GB, free: 57.65 MB / 0.6856 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.003204/1.512, allocations: 1.07 MB / 1.015 GB, free: 56.98 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01596/1.528, allocations: 6.365 MB / 1.021 GB, free: 50.58 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.528, allocations: 3.938 kB / 1.021 GB, free: 50.58 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.007583/1.536, allocations: 3.207 MB / 1.024 GB, free: 47.36 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/1.54, allocations: 0.6003 MB / 1.025 GB, free: 46.79 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/1.561, allocations: 9.974 MB / 1.035 GB, free: 36.77 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003523/1.565, allocations: 3.035 MB / 1.038 GB, free: 33.69 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.006374/1.571, allocations: 1.292 MB / 1.039 GB, free: 32.39 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003008/1.574, allocations: 491 kB / 1.039 GB, free: 31.91 MB / 0.6856 GB Notification: Performance of SimCode: time 1.923e-06/1.574, allocations: 0 / 1.039 GB, free: 31.91 MB / 0.6856 GB Notification: Performance of Templates: time 0.1039/1.678, allocations: 69.16 MB / 1.107 GB, free: 10.99 MB / 0.7325 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)