Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.844/2.844, allocations: 287.3 MB / 302.3 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002197/0.002197, allocations: 183.7 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.174/2.174, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001158, allocations: 85.47 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006875/0.0006876, allocations: 16.81 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2353, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.01106/0.2464, allocations: 6.976 MB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8946/1.141, allocations: 128.8 MB / 1.111 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/1.143, allocations: 29.44 kB / 1.111 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/1.145, allocations: 149.3 kB / 1.111 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005704/1.151, allocations: 0.6467 MB / 1.112 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006916/1.158, allocations: 0.85 MB / 1.112 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005576/1.163, allocations: 1.257 MB / 1.114 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005461/1.169, allocations: 1.38 MB / 1.115 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003112/1.172, allocations: 0.5908 MB / 1.116 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/1.175, allocations: 0.5947 MB / 1.116 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009244/1.176, allocations: 46.41 kB / 1.116 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003147/1.179, allocations: 330.8 kB / 1.117 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001405/1.181, allocations: 329.6 kB / 1.117 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009783/1.182, allocations: 337.1 kB / 1.117 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007361/1.189, allocations: 2.205 MB / 1.119 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.189, allocations: 0 / 1.119 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.667e-06/1.189, allocations: 0 / 1.119 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001087/1.189, allocations: 3.938 kB / 1.119 GB, free: 0.707 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.006529/1.196, allocations: 1.792 MB / 1.121 GB, free: 15.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.196, allocations: 12.84 kB / 1.121 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/1.207, allocations: 0.9566 MB / 1.122 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/1.21, allocations: 1.088 MB / 1.123 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/1.211, allocations: 126.4 kB / 1.123 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006086/1.211, allocations: 160.5 kB / 1.123 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009645/1.221, allocations: 2.166 MB / 1.125 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-05/1.221, allocations: 3.938 kB / 1.125 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003737/1.221, allocations: 76.52 kB / 1.126 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/1.222, allocations: 79.16 kB / 1.126 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/1.234, allocations: 2.517 MB / 1.128 GB, free: 14.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02235/1.256, allocations: 6.989 MB / 1.135 GB, free: 11.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008535/1.265, allocations: 1.615 MB / 1.136 GB, free: 10.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/1.266, allocations: 485.6 kB / 1.137 GB, free: 10.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004444/1.27, allocations: 0.9207 MB / 1.138 GB, free: 9.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 6.081e-06/1.27, allocations: 1.219 kB / 1.138 GB, free: 9.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.01251/1.283, allocations: 2.202 MB / 1.14 GB, free: 9.402 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002165/1.283, allocations: 301.4 kB / 1.14 GB, free: 9.059 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/1.285, allocations: 0.8507 MB / 1.141 GB, free: 8.773 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005295/1.286, allocations: 49.05 kB / 1.141 GB, free: 8.742 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008611/1.287, allocations: 0.6743 MB / 1.142 GB, free: 8.344 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008819/1.288, allocations: 431.8 kB / 1.142 GB, free: 8.035 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/1.288, allocations: 22.22 kB / 1.142 GB, free: 8.035 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002074/1.288, allocations: 361.2 kB / 1.143 GB, free: 7.707 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003299/1.291, allocations: 0.5881 MB / 1.143 GB, free: 7.609 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003917/1.295, allocations: 0.8078 MB / 1.144 GB, free: 7.281 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003712/1.299, allocations: 0.6592 MB / 1.145 GB, free: 7.195 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.93e-05/1.299, allocations: 1.656 kB / 1.145 GB, free: 7.195 MB / 0.698 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.008369/1.308, allocations: 1.628 MB / 1.146 GB, free: 6.832 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007205/1.308, allocations: 1.49 MB / 1.148 GB, free: 5.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/1.308, allocations: 3.906 kB / 1.148 GB, free: 5.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003145/1.309, allocations: 37.19 kB / 1.148 GB, free: 5.254 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003722/1.312, allocations: 326.1 kB / 1.148 GB, free: 5.172 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/1.314, allocations: 1.303 MB / 1.149 GB, free: 3.867 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/1.317, allocations: 195.2 kB / 1.149 GB, free: 3.773 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003888/1.318, allocations: 60.95 kB / 1.149 GB, free: 3.758 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.318, allocations: 3.781 kB / 1.15 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007726/1.325, allocations: 1.481 MB / 1.151 GB, free: 3.504 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/1.326, allocations: 4.281 kB / 1.151 GB, free: 3.504 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/1.326, allocations: 9.906 kB / 1.151 GB, free: 3.504 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003645/1.329, allocations: 328.7 kB / 1.151 GB, free: 3.422 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.705e-05/1.329, allocations: 12.41 kB / 1.151 GB, free: 3.418 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/1.332, allocations: 185.3 kB / 1.151 GB, free: 3.332 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003799/1.333, allocations: 58.44 kB / 1.152 GB, free: 3.32 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.001683/1.334, allocations: 477.2 kB / 1.152 GB, free: 3.098 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005198/1.335, allocations: 125.6 kB / 1.152 GB, free: 3.031 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009422/1.344, allocations: 1.883 MB / 1.154 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/1.344, allocations: 15.69 kB / 1.154 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.344, allocations: 3.938 kB / 1.154 GB, free: 2.539 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/1.345, allocations: 7.969 kB / 1.154 GB, free: 2.531 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/1.357, allocations: 3.75 MB / 1.158 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/1.357, allocations: 2.375 kB / 1.158 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00334/1.361, allocations: 308.8 kB / 1.158 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/1.361, allocations: 29.34 kB / 1.158 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003136/1.361, allocations: 41.95 kB / 1.158 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/1.363, allocations: 1.283 MB / 1.159 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.363, allocations: 0 / 1.159 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008/1.371, allocations: 1.749 MB / 1.161 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.372, allocations: 416.3 kB / 1.161 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004147/1.373, allocations: 30.09 kB / 1.161 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002681/1.375, allocations: 141.2 kB / 1.162 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003961/1.376, allocations: 87.75 kB / 1.162 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002184/1.376, allocations: 51.92 kB / 1.162 GB, free: 15 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00138/1.377, allocations: 0.5872 MB / 1.162 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.378, allocations: 0 / 1.162 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003362/1.381, allocations: 0.7458 MB / 1.163 GB, free: 14.63 MB / 0.7136 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.001987/1.383, allocations: 0.5741 MB / 1.164 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.395, allocations: 2.423 MB / 1.166 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/1.395, allocations: 3.938 kB / 1.166 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004042/1.399, allocations: 0.9205 MB / 1.167 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/1.401, allocations: 288 kB / 1.167 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/1.414, allocations: 3.54 MB / 1.171 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00261/1.417, allocations: 1.314 MB / 1.172 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.008064/1.425, allocations: 0.5293 MB / 1.172 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001817/1.427, allocations: 153.3 kB / 1.172 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of SimCode: time 2.164e-06/1.427, allocations: 3.938 kB / 1.172 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of Templates: time 0.08709/1.514, allocations: 18.6 MB / 1.191 GB, free: 9.656 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1)