Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001351/0.001351, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 240 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 263.2 kB / 291.3 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004068, allocations: 14.72 kB / 0.598 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1592, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.003765/0.163, allocations: 3.197 MB / 0.6876 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004502/0.1675, allocations: 3.185 MB / 0.6907 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.1678, allocations: 11.88 kB / 0.6907 GB, free: 9.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.1681, allocations: 99.31 kB / 0.6908 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009081/0.169, allocations: 369 kB / 0.6912 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.1697, allocations: 275.6 kB / 0.6914 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007178/0.1704, allocations: 0.6596 MB / 0.6921 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.1707, allocations: 162.8 kB / 0.6922 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003015/0.171, allocations: 246.9 kB / 0.6925 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000387/0.1714, allocations: 266.8 kB / 0.6927 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.919e-05/0.1714, allocations: 20 kB / 0.6927 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007277/0.1722, allocations: 439.4 kB / 0.6932 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1723, allocations: 115.5 kB / 0.6933 GB, free: 6.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1724, allocations: 125.4 kB / 0.6934 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007988/0.1732, allocations: 0.7949 MB / 0.6942 GB, free: 5.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1733, allocations: 8 kB / 0.6942 GB, free: 5.535 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1733, allocations: 0 / 0.6942 GB, free: 5.535 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1733, allocations: 0 / 0.6942 GB, free: 5.535 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001576/0.1749, allocations: 0.8706 MB / 0.695 GB, free: 4.609 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.1749, allocations: 8.031 kB / 0.695 GB, free: 4.602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/0.1778, allocations: 0.5845 MB / 0.6956 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.179, allocations: 0.6147 MB / 0.6962 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.1792, allocations: 114.1 kB / 0.6963 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.689e-05/0.1792, allocations: 48 kB / 0.6963 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.1805, allocations: 0.6674 MB / 0.697 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1806, allocations: 0 / 0.697 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.1806, allocations: 20 kB / 0.697 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.1806, allocations: 12 kB / 0.697 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.1822, allocations: 0.6987 MB / 0.6977 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.1855, allocations: 1.769 MB / 0.6994 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.1879, allocations: 0.807 MB / 0.7002 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008406/0.1887, allocations: 329.9 kB / 0.7005 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001803/0.1906, allocations: 1.761 MB / 0.7023 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008109/0.1914, allocations: 402.5 kB / 0.7026 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 1.773e-06/0.1914, allocations: 0 / 0.7026 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.002222/0.1936, allocations: 0.9356 MB / 0.7036 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.1937, allocations: 111.2 kB / 0.7037 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.1942, allocations: 414.4 kB / 0.7041 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.1942, allocations: 37.7 kB / 0.7041 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.1945, allocations: 276.5 kB / 0.7044 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.1946, allocations: 177.4 kB / 0.7045 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.1947, allocations: 12 kB / 0.7045 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1948, allocations: 366.7 kB / 0.7049 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006562/0.1955, allocations: 276.9 kB / 0.7052 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008194/0.1963, allocations: 412.6 kB / 0.7055 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007361/0.197, allocations: 306 kB / 0.7058 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1971, allocations: 0 / 0.7058 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001625/0.1987, allocations: 0.7599 MB / 0.7066 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1987, allocations: 8 kB / 0.7066 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1987, allocations: 4 kB / 0.7066 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1987, allocations: 4 kB / 0.7066 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.2001, allocations: 255.9 kB / 0.7068 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.2016, allocations: 1.471 MB / 0.7083 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005832/0.2022, allocations: 95.62 kB / 0.7084 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/0.2022, allocations: 31.91 kB / 0.7084 GB, free: 6.105 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002687/0.2025, allocations: 210.9 kB / 0.7086 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.2026, allocations: 51.34 kB / 0.7087 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.2049, allocations: 0.9386 MB / 0.7096 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.2049, allocations: 4 kB / 0.7096 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2049, allocations: 4 kB / 0.7096 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.205, allocations: 7.938 kB / 0.7096 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.2079, allocations: 1.63 MB / 0.7112 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2079, allocations: 0 / 0.7112 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006716/0.2086, allocations: 143.8 kB / 0.7113 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/0.209, allocations: 64.8 kB / 0.7114 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/0.2091, allocations: 23.92 kB / 0.7114 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.2105, allocations: 1.466 MB / 0.7128 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2105, allocations: 0 / 0.7128 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.2125, allocations: 0.9057 MB / 0.7137 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.2127, allocations: 212.2 kB / 0.7139 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.648e-05/0.2128, allocations: 12 kB / 0.7139 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005198/0.2133, allocations: 62.69 kB / 0.714 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.84e-05/0.2134, allocations: 44.45 kB / 0.714 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.036e-05/0.2135, allocations: 27.98 kB / 0.7141 GB, free: 52 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003461/0.2138, allocations: 287.1 kB / 0.7143 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2139, allocations: 3.938 kB / 0.7143 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007176/0.2146, allocations: 231.7 kB / 0.7146 GB, free: 15.54 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.2157, allocations: 0.489 MB / 0.715 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002234/0.218, allocations: 0.7652 MB / 0.7158 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.218, allocations: 0 / 0.7158 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009464/0.2189, allocations: 0.4942 MB / 0.7163 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.2194, allocations: 73.81 kB / 0.7163 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.2216, allocations: 1.499 MB / 0.7178 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.2221, allocations: 0.8775 MB / 0.7187 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007164/0.2228, allocations: 152.4 kB / 0.7188 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.223, allocations: 67.39 kB / 0.7189 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of SimCode: time 8.02e-07/0.223, allocations: 0 / 0.7189 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.01409/0.2371, allocations: 8.188 MB / 0.7269 GB, free: 3.066 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1)