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.006351/0.006351, allocations: 103.6 kB / 15.73 MB, free: 6.039 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.001294/0.001294, allocations: 192.7 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7905/0.7905, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002419/0.00242, allocations: 62.03 kB / 0.5814 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2224, allocations: 80.2 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation): time 0.01224/0.2347, allocations: 9.759 MB / 0.6692 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6797/0.9144, allocations: 156.9 MB / 0.8225 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.9167, allocations: 46.22 kB / 0.8225 GB, free: 3.59 MB / 0.6387 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.001338/0.9181, allocations: 441.6 kB / 0.8229 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00457/0.9227, allocations: 1.279 MB / 0.8242 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004393/0.9271, allocations: 1.649 MB / 0.8258 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009093/0.9362, allocations: 6.884 MB / 0.8325 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005021/0.9413, allocations: 3.469 MB / 0.8359 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006308/0.9476, allocations: 2.741 MB / 0.8386 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004788/0.9524, allocations: 2.886 MB / 0.8414 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001374/0.9538, allocations: 0.7137 MB / 0.8421 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003587/0.9574, allocations: 1.682 MB / 0.8437 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.9586, allocations: 1.613 MB / 0.8453 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003308/0.9619, allocations: 2.864 MB / 0.8481 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009938/0.9718, allocations: 8.943 MB / 0.8568 GB, free: 88 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.9719, allocations: 7.5 kB / 0.8569 GB, free: 84 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9719, allocations: 0 / 0.8569 GB, free: 84 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002832/0.9722, allocations: 0 / 0.8569 GB, free: 84 kB / 0.6387 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.01433/0.9865, allocations: 5.795 MB / 0.8625 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.9866, allocations: 9.531 kB / 0.8625 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01738/1.004, allocations: 2.348 MB / 0.8648 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008341/1.012, allocations: 3.394 MB / 0.8681 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/1.013, allocations: 344.2 kB / 0.8685 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/1.014, allocations: 444.4 kB / 0.8689 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01759/1.032, allocations: 7.059 MB / 0.8758 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.86e-05/1.032, allocations: 5.906 kB / 0.8758 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005568/1.033, allocations: 187.3 kB / 0.876 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.39e-05/1.033, allocations: 119.6 kB / 0.8761 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0232/1.056, allocations: 10.24 MB / 0.8861 GB, free: 1.973 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.04119/1.097, allocations: 22.01 MB / 0.9076 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0229/1.12, allocations: 7.984 MB / 0.9154 GB, free: 3.281 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008628/1.129, allocations: 3.091 MB / 0.9184 GB, free: 188 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/1.13, allocations: 1.153 MB / 0.9195 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0103/1.141, allocations: 3.624 MB / 0.9231 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=399): time 9.508e-06/1.141, allocations: 0 / 0.9231 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=399): time 0.04734/1.188, allocations: 12.09 MB / 0.9349 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/1.188, allocations: 304.2 kB / 0.9352 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006091/1.194, allocations: 2.825 MB / 0.9379 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001438/1.196, allocations: 117.7 kB / 0.938 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002063/1.198, allocations: 1.777 MB / 0.9398 GB, free: 9.891 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.002612/1.2, allocations: 1.344 MB / 0.9411 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00365/1.204, allocations: 0.8442 MB / 0.9419 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.204, allocations: 305.1 kB / 0.9422 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008201/1.213, allocations: 2.779 MB / 0.9449 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008741/1.221, allocations: 3.239 MB / 0.9481 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01679/1.238, allocations: 5.948 MB / 0.9539 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.105e-05/1.238, allocations: 4 kB / 0.9539 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=480) (initialization): time 0.02761/1.266, allocations: 8.242 MB / 0.9619 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/1.266, allocations: 8 kB / 0.9619 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/1.266, allocations: 8 kB / 0.9619 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007807/1.274, allocations: 1.565 MB / 0.9635 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006986/1.281, allocations: 1.08 MB / 0.9645 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007192/1.288, allocations: 4.413 MB / 0.9688 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006772/1.295, allocations: 0.6537 MB / 0.9695 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001616/1.296, allocations: 219.8 kB / 0.9697 GB, free: 10.92 MB / 0.7481 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.005051/1.301, allocations: 1.357 MB / 0.971 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00208/1.304, allocations: 351.6 kB / 0.9713 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02161/1.325, allocations: 6.869 MB / 0.978 GB, free: 2.328 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.63e-05/1.325, allocations: 40 kB / 0.9781 GB, free: 2.289 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/1.325, allocations: 3.188 kB / 0.9781 GB, free: 2.289 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.559e-05/1.325, allocations: 23.86 kB / 0.9781 GB, free: 2.266 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03422/1.36, allocations: 13.18 MB / 0.991 GB, free: 5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/1.36, allocations: 0 / 0.991 GB, free: 5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005359/1.365, allocations: 0.9111 MB / 0.9919 GB, free: 4.125 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005673/1.371, allocations: 1.278 MB / 0.9931 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001006/1.372, allocations: 127.9 kB / 0.9932 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005715/1.377, allocations: 4.135 MB / 0.9973 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.377, allocations: 0 / 0.9973 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03067/1.408, allocations: 11 MB / 1.008 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00341/1.412, allocations: 1.17 MB / 1.009 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001741/1.413, allocations: 119.6 kB / 1.009 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005005/1.418, allocations: 419.5 kB / 1.01 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008757/1.419, allocations: 267 kB / 1.01 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006701/1.42, allocations: 155.9 kB / 1.01 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.005021/1.425, allocations: 2.11 MB / 1.012 GB, free: 15.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/1.425, allocations: 0 / 1.012 GB, free: 15.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005423/1.43, allocations: 1.281 MB / 1.013 GB, free: 13.82 MB / 0.795 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.003223/1.434, allocations: 1.072 MB / 1.014 GB, free: 13.21 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0172/1.451, allocations: 6.362 MB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.451, allocations: 0.625 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00865/1.46, allocations: 3.217 MB / 1.024 GB, free: 3.719 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00507/1.465, allocations: 0.5855 MB / 1.024 GB, free: 3.16 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02507/1.49, allocations: 9.839 MB / 1.034 GB, free: 9.293 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004468/1.494, allocations: 3.027 MB / 1.037 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.007481/1.502, allocations: 1.296 MB / 1.038 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003452/1.505, allocations: 483 kB / 1.039 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of SimCode: time 1.543e-06/1.505, allocations: 0 / 1.039 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of Templates: time 0.1336/1.639, allocations: 69.17 MB / 1.106 GB, free: 15.82 MB / 0.8887 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)