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: "" <> buildModelFMU(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation,fileNamePrefix="IDEAS_IDEAS_Examples_TwinHouses_BaseClasses_Data_Validation_SolarValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation,fileNamePrefix="IDEAS_IDEAS_Examples_TwinHouses_BaseClasses_Data_Validation_SolarValidation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007589/0.007589, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001487/0.001487, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8051/0.8051, allocations: 132.2 MB / 422.7 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 66.11 kB / 0.5809 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1871, allocations: 80.2 MB / 0.6592 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation): time 0.01315/0.2003, allocations: 9.754 MB / 0.6687 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6913/0.8917, allocations: 157 MB / 0.822 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00325/0.895, allocations: 40.09 kB / 0.822 GB, free: 6.602 MB / 0.5919 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.002107/0.8972, allocations: 439.9 kB / 0.8224 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005706/0.9029, allocations: 1.281 MB / 0.8237 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005232/0.9081, allocations: 1.643 MB / 0.8253 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02332/0.9315, allocations: 6.892 MB / 0.832 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005676/0.9372, allocations: 3.464 MB / 0.8354 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009674/0.947, allocations: 2.753 MB / 0.8381 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007975/0.955, allocations: 2.881 MB / 0.8409 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004104/0.9591, allocations: 0.7148 MB / 0.8416 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007848/0.967, allocations: 1.678 MB / 0.8433 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004439/0.9715, allocations: 1.619 MB / 0.8448 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008489/0.9801, allocations: 2.864 MB / 0.8476 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01982/1, allocations: 8.948 MB / 0.8564 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/1, allocations: 0 / 0.8564 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.136e-06/1, allocations: 0 / 0.8564 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003595/1, allocations: 4 kB / 0.8564 GB, free: 12.29 MB / 0.6231 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.02353/1.024, allocations: 5.8 MB / 0.862 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/1.024, allocations: 12.03 kB / 0.862 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002664/1.027, allocations: 0.6171 MB / 0.8626 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01756/1.044, allocations: 2.338 MB / 0.8649 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009562/1.054, allocations: 3.386 MB / 0.8682 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005114/1.055, allocations: 349.1 kB / 0.8686 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002239/1.057, allocations: 451.9 kB / 0.869 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/1.081, allocations: 7.054 MB / 0.8759 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001796/1.081, allocations: 3.938 kB / 0.8759 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002065/1.083, allocations: 195.9 kB / 0.8761 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/1.084, allocations: 108 kB / 0.8762 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02768/1.111, allocations: 10.24 MB / 0.8862 GB, free: 13.41 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.05068/1.162, allocations: 22.01 MB / 0.9077 GB, free: 6.141 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02455/1.187, allocations: 7.993 MB / 0.9155 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009042/1.196, allocations: 3.082 MB / 0.9185 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001868/1.198, allocations: 1.168 MB / 0.9196 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01141/1.209, allocations: 3.625 MB / 0.9232 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=399): time 1.468e-05/1.209, allocations: 4 kB / 0.9232 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of matching and sorting (n=399): time 0.04889/1.258, allocations: 12.08 MB / 0.935 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002554/1.258, allocations: 304.2 kB / 0.9353 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005774/1.264, allocations: 2.821 MB / 0.938 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001449/1.266, allocations: 117.7 kB / 0.9381 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002051/1.268, allocations: 1.783 MB / 0.9399 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002725/1.27, allocations: 1.348 MB / 0.9412 GB, free: 3.289 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002172/1.273, allocations: 0.8245 MB / 0.942 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.273, allocations: 301.1 kB / 0.9423 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007749/1.281, allocations: 2.751 MB / 0.945 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009284/1.29, allocations: 3.237 MB / 0.9481 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01704/1.307, allocations: 5.92 MB / 0.9539 GB, free: 6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-05/1.307, allocations: 0 / 0.9539 GB, free: 6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.02689/1.334, allocations: 8.148 MB / 0.9619 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/1.334, allocations: 8 kB / 0.9619 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.44e-05/1.334, allocations: 7.984 kB / 0.9619 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00736/1.341, allocations: 1.57 MB / 0.9634 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006592/1.348, allocations: 1.057 MB / 0.9645 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007297/1.355, allocations: 4.417 MB / 0.9688 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006208/1.362, allocations: 0.6445 MB / 0.9694 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/1.363, allocations: 211.8 kB / 0.9696 GB, free: 5.676 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.validationDataN2Exp1.data.nextTimeEvent,$whenCondition4,validationDataN2Exp1.data.nextTimeEventScaled,$PRE.validationDataN2Exp1.data.nextTimeEventScaled,validationDataN2Exp1.data.nextTimeEvent,$PRE.sim.inputSolTTH.nextTimeEvent,$whenCondition3,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 (437): * Single equations (assignments): 434 * 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.368, allocations: 1.344 MB / 0.9709 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/1.369, allocations: 363.4 kB / 0.9713 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02003/1.389, allocations: 6.87 MB / 0.978 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.297e-05/1.39, allocations: 40 kB / 0.978 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/1.39, allocations: 3.938 kB / 0.978 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001116/1.39, allocations: 23.92 kB / 0.978 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03734/1.427, allocations: 13.19 MB / 0.9909 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.736e-05/1.427, allocations: 0 / 0.9909 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00551/1.433, allocations: 0.905 MB / 0.9918 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005448/1.438, allocations: 1.294 MB / 0.9931 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001208/1.439, allocations: 119.9 kB / 0.9932 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00566/1.445, allocations: 4.123 MB / 0.9972 GB, free: 8.902 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.445, allocations: 3.984 kB / 0.9972 GB, free: 8.898 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03058/1.476, allocations: 11 MB / 1.008 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003353/1.479, allocations: 1.163 MB / 1.009 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001775/1.481, allocations: 127.7 kB / 1.009 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004845/1.486, allocations: 415.4 kB / 1.01 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001094/1.487, allocations: 275 kB / 1.01 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009679/1.488, allocations: 159.9 kB / 1.01 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004601/1.492, allocations: 2.106 MB / 1.012 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/1.492, allocations: 0 / 1.012 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005692/1.498, allocations: 1.289 MB / 1.013 GB, free: 8.289 MB / 0.7794 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.03247/1.531, allocations: 12.13 MB / 1.025 GB, free: 12.49 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01789/1.549, allocations: 6.33 MB / 1.031 GB, free: 6.129 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.549, allocations: 0 / 1.031 GB, free: 6.129 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.008606/1.557, allocations: 3.222 MB / 1.035 GB, free: 2.895 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005067/1.562, allocations: 0.5923 MB / 1.035 GB, free: 2.324 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5075/2.07, allocations: 40.8 MB / 1.075 GB, free: 298 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003416/2.073, allocations: 3.032 MB / 1.078 GB, free: 296.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005693/2.079, allocations: 1.301 MB / 1.079 GB, free: 296.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004981/2.084, allocations: 2.078 MB / 1.081 GB, free: 295.2 MB / 0.8106 GB Notification: Performance of SimCode: time 1.372e-06/2.084, allocations: 0 / 1.081 GB, free: 295.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2164/2.301, allocations: 99.95 MB / 1.179 GB, free: 204.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.92/21.23, allocations: 7.75 kB / 1.179 GB, free: 204.6 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Examples_TwinHouses_BaseClasses_Data_Validation_SolarValidation_fmu --startTime=2e+07 --stopTime=2.35872e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Examples_TwinHouses_BaseClasses_Data_Validation_SolarValidation.fmu > IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.Validation.SolarValidation.pipe 2>&1)