Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimple",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 170.9 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009475/0.0009475, allocations: 90.44 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003793, allocations: 9.375 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2725, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.007502/0.2801, allocations: 6.512 MB / 0.9065 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1559/0.436, allocations: 128.7 MB / 1.032 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.4374, allocations: 23.88 kB / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.4381, allocations: 146.7 kB / 1.032 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.4404, allocations: 0.6369 MB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.4429, allocations: 0.8543 MB / 1.034 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001989/0.4449, allocations: 1.201 MB / 1.035 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.4466, allocations: 1.265 MB / 1.036 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007373/0.4473, allocations: 0.5407 MB / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007879/0.4481, allocations: 0.5907 MB / 1.037 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.4483, allocations: 48 kB / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008255/0.4491, allocations: 331.6 kB / 1.038 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.4494, allocations: 318.7 kB / 1.038 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002876/0.4497, allocations: 304.8 kB / 1.038 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.4516, allocations: 1.898 MB / 1.04 GB, free: 76 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.4516, allocations: 3.938 kB / 1.04 GB, free: 72 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4516, allocations: 0 / 1.04 GB, free: 72 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.106e-05/0.4517, allocations: 0 / 1.04 GB, free: 72 kB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.003548/0.4552, allocations: 1.739 MB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4553, allocations: 8.031 kB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002996/0.4556, allocations: 232.3 kB / 1.042 GB, free: 14.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005873/0.4615, allocations: 0.9342 MB / 1.043 GB, free: 13.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.4634, allocations: 0.985 MB / 1.044 GB, free: 12.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.951e-05/0.4635, allocations: 115.1 kB / 1.044 GB, free: 11.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.4638, allocations: 160 kB / 1.044 GB, free: 11.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004218/0.468, allocations: 2.039 MB / 1.046 GB, free: 9.676 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.468, allocations: 7.938 kB / 1.046 GB, free: 9.668 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.4682, allocations: 71.94 kB / 1.046 GB, free: 9.598 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.003e-05/0.4683, allocations: 74.98 kB / 1.046 GB, free: 9.523 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005516/0.4738, allocations: 2.4 MB / 1.049 GB, free: 7.117 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/0.486, allocations: 6.4 MB / 1.055 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5442/1.03, allocations: 1.571 MB / 1.056 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006742/1.031, allocations: 491.6 kB / 1.057 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002016/1.033, allocations: 0.9136 MB / 1.058 GB, free: 152.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 4.448e-06/1.033, allocations: 3.844 kB / 1.058 GB, free: 152.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.005873/1.039, allocations: 2.182 MB / 1.06 GB, free: 152 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/1.039, allocations: 301.4 kB / 1.06 GB, free: 151.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/1.041, allocations: 0.8336 MB / 1.061 GB, free: 151.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/1.041, allocations: 47.98 kB / 1.061 GB, free: 151.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006104/1.041, allocations: 0.6359 MB / 1.062 GB, free: 151.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003714/1.042, allocations: 424 kB / 1.062 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/1.042, allocations: 29.97 kB / 1.062 GB, free: 150.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.042, allocations: 352.1 kB / 1.063 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/1.044, allocations: 0.5869 MB / 1.063 GB, free: 150.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/1.045, allocations: 0.7737 MB / 1.064 GB, free: 150.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/1.047, allocations: 0.6593 MB / 1.064 GB, free: 150.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.047, allocations: 0 / 1.064 GB, free: 150.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004983/1.052, allocations: 1.606 MB / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003041/1.052, allocations: 1.146 MB / 1.067 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.052, allocations: 7.266 kB / 1.067 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002483/1.053, allocations: 38.3 kB / 1.067 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/1.055, allocations: 328.3 kB / 1.068 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/1.056, allocations: 1.287 MB / 1.069 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/1.057, allocations: 192.7 kB / 1.069 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/1.058, allocations: 58.5 kB / 1.069 GB, free: 147.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/1.058, allocations: 3.25 kB / 1.069 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005015/1.063, allocations: 1.468 MB / 1.07 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/1.063, allocations: 2.781 kB / 1.07 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/1.063, allocations: 8.594 kB / 1.07 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/1.065, allocations: 340 kB / 1.071 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/1.065, allocations: 8.812 kB / 1.071 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/1.066, allocations: 183.2 kB / 1.071 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/1.066, allocations: 58.28 kB / 1.071 GB, free: 147.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001157/1.068, allocations: 444.7 kB / 1.071 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/1.068, allocations: 122 kB / 1.072 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005858/1.074, allocations: 1.892 MB / 1.073 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/1.074, allocations: 14.47 kB / 1.073 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.074, allocations: 3.953 kB / 1.073 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/1.074, allocations: 16.03 kB / 1.073 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008112/1.082, allocations: 3.568 MB / 1.077 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.082, allocations: 0.6562 kB / 1.077 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/1.084, allocations: 313.5 kB / 1.077 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001491/1.084, allocations: 24.59 kB / 1.077 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/1.084, allocations: 42.52 kB / 1.077 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000972/1.085, allocations: 1.281 MB / 1.079 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.085, allocations: 2.797 kB / 1.079 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00431/1.089, allocations: 1.718 MB / 1.08 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007786/1.09, allocations: 409.2 kB / 1.081 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/1.09, allocations: 23.59 kB / 1.081 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/1.092, allocations: 138.7 kB / 1.081 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/1.092, allocations: 88.97 kB / 1.081 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.092, allocations: 54.95 kB / 1.081 GB, free: 143.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009492/1.093, allocations: 0.5931 MB / 1.081 GB, free: 143.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.093, allocations: 0 / 1.081 GB, free: 143.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002255/1.095, allocations: 0.7304 MB / 1.082 GB, free: 143.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005372/1.101, allocations: 2.89 MB / 1.085 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00741/1.108, allocations: 2.395 MB / 1.087 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.108, allocations: 1.281 kB / 1.087 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002122/1.11, allocations: 0.9098 MB / 1.088 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/1.112, allocations: 286.1 kB / 1.089 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/1.131, allocations: 9.976 MB / 1.098 GB, free: 131.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009601/1.132, allocations: 1.292 MB / 1.1 GB, free: 129.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002748/1.135, allocations: 0.5209 MB / 1.1 GB, free: 129.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/1.136, allocations: 0.6202 MB / 1.101 GB, free: 128.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.402e-06/1.136, allocations: 0 / 1.101 GB, free: 128.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.061/1.197, allocations: 29.71 MB / 1.13 GB, free: 99.25 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/1.197, allocations: 266 kB / 1.13 GB, free: 98.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.934/4.131, allocations: 0 / 1.13 GB, free: 98.89 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimple_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimple.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)