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.001367/0.001367, allocations: 104.3 kB / 16.35 MB, free: 6.289 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.001153/0.001153, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.767/0.767, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 55.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3537, allocations: 80.19 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation): time 0.009799/0.3636, allocations: 9.744 MB / 0.591 GB, free: 19.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1648/0.5285, allocations: 157 MB / 0.7443 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002743/0.5312, allocations: 43.75 kB / 0.7444 GB, free: 6.91 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.001547/0.5328, allocations: 439.7 kB / 0.7448 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004396/0.5373, allocations: 1.249 MB / 0.746 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.5409, allocations: 1.629 MB / 0.7476 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3571/0.898, allocations: 6.884 MB / 0.7543 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006268/0.9044, allocations: 3.461 MB / 0.7577 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006105/0.9105, allocations: 2.706 MB / 0.7603 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00519/0.9157, allocations: 2.886 MB / 0.7632 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002329/0.9181, allocations: 0.7169 MB / 0.7639 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004178/0.9222, allocations: 1.677 MB / 0.7655 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001807/0.9241, allocations: 1.607 MB / 0.7671 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003416/0.9275, allocations: 2.869 MB / 0.7699 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00866/0.9362, allocations: 8.943 MB / 0.7786 GB, free: 376 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.9362, allocations: 2.938 kB / 0.7786 GB, free: 376 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9362, allocations: 0 / 0.7786 GB, free: 376 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002528/0.9365, allocations: 1.062 kB / 0.7786 GB, free: 376 kB / 0.5762 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.0143/0.9508, allocations: 5.799 MB / 0.7843 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.9508, allocations: 9.406 kB / 0.7843 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/0.9678, allocations: 2.339 MB / 0.7866 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008062/0.976, allocations: 3.387 MB / 0.7899 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.9762, allocations: 343.5 kB / 0.7902 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001666/0.9779, allocations: 447.4 kB / 0.7906 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01922/0.9971, allocations: 7.059 MB / 0.7975 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.964e-05/0.9973, allocations: 9.375 kB / 0.7975 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005956/0.9979, allocations: 190.8 kB / 0.7977 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.757e-05/0.998, allocations: 111.6 kB / 0.7978 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02338/1.021, allocations: 10.24 MB / 0.8078 GB, free: 10.73 MB / 0.5919 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.04419/1.066, allocations: 22.02 MB / 0.8293 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02021/1.086, allocations: 7.986 MB / 0.8371 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007589/1.094, allocations: 3.088 MB / 0.8401 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/1.095, allocations: 1.147 MB / 0.8412 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008535/1.103, allocations: 3.621 MB / 0.8448 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=399): time 6.262e-06/1.103, allocations: 0 / 0.8448 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of matching and sorting (n=399): time 0.04232/1.146, allocations: 12.1 MB / 0.8566 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001793/1.146, allocations: 304.2 kB / 0.8569 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005261/1.151, allocations: 2.829 MB / 0.8596 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001386/1.153, allocations: 117.7 kB / 0.8598 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/1.154, allocations: 1.777 MB / 0.8615 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001993/1.156, allocations: 1.347 MB / 0.8628 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001562/1.158, allocations: 0.8442 MB / 0.8636 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.443e-05/1.158, allocations: 305.1 kB / 0.8639 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006866/1.165, allocations: 2.775 MB / 0.8666 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007734/1.173, allocations: 3.242 MB / 0.8698 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01515/1.188, allocations: 5.949 MB / 0.8756 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/1.188, allocations: 0 / 0.8756 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of matching and sorting (n=480) (initialization): time 0.02573/1.214, allocations: 8.235 MB / 0.8837 GB, free: 13.71 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/1.214, allocations: 8.625 kB / 0.8837 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/1.214, allocations: 8 kB / 0.8837 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007508/1.221, allocations: 1.57 MB / 0.8852 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00652/1.228, allocations: 1.077 MB / 0.8863 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006978/1.235, allocations: 4.426 MB / 0.8906 GB, free: 6.484 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006164/1.241, allocations: 0.6484 MB / 0.8912 GB, free: 5.832 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/1.242, allocations: 219.8 kB / 0.8914 GB, free: 5.617 MB / 0.67 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.004599/1.247, allocations: 1.349 MB / 0.8927 GB, free: 4.301 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001813/1.249, allocations: 355.5 kB / 0.8931 GB, free: 3.949 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/1.268, allocations: 6.868 MB / 0.8998 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.559e-05/1.268, allocations: 44 kB / 0.8998 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/1.268, allocations: 0 / 0.8998 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.948e-05/1.268, allocations: 19.92 kB / 0.8998 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03044/1.299, allocations: 13.17 MB / 0.9127 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.413e-05/1.299, allocations: 4 kB / 0.9127 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005083/1.304, allocations: 0.9069 MB / 0.9136 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005345/1.309, allocations: 1.294 MB / 0.9149 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001026/1.31, allocations: 123.9 kB / 0.915 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005396/1.316, allocations: 4.134 MB / 0.919 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.316, allocations: 3.984 kB / 0.919 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02638/1.342, allocations: 10.99 MB / 0.9297 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003/1.345, allocations: 1.167 MB / 0.9309 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008265/1.346, allocations: 123.7 kB / 0.931 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003722/1.35, allocations: 425.2 kB / 0.9314 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005367/1.35, allocations: 267 kB / 0.9317 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003871/1.351, allocations: 159.9 kB / 0.9318 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003113/1.354, allocations: 2.106 MB / 0.9339 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.71e-07/1.354, allocations: 0 / 0.9339 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003622/1.357, allocations: 1.285 MB / 0.9351 GB, free: 8.535 MB / 0.7169 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.002473/1.36, allocations: 1.072 MB / 0.9362 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01509/1.375, allocations: 6.361 MB / 0.9424 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.375, allocations: 4 kB / 0.9424 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007167/1.382, allocations: 3.215 MB / 0.9455 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/1.385, allocations: 0.598 MB / 0.9461 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/1.403, allocations: 9.814 MB / 0.9557 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002581/1.406, allocations: 3.034 MB / 0.9587 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004766/1.411, allocations: 1.304 MB / 0.9599 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/1.413, allocations: 486.1 kB / 0.9604 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of SimCode: time 8.41e-07/1.413, allocations: 0 / 0.9604 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of Templates: time 0.1021/1.515, allocations: 68.14 MB / 1.027 GB, free: 11.56 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation.pipe 2>&1)