Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 190.4 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 251.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002687/0.002687, allocations: 291.9 kB / 307.1 MB, free: 8.438 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.238/1.238, allocations: 180.8 MB / 0.5304 GB, free: 14.51 MB / 382.1 MB " [Timeout remaining time 179] 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.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 97.52 kB / 0.731 GB, free: 38.7 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1563, allocations: 94.21 MB / 0.823 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.005321/0.1616, allocations: 3.73 MB / 0.8267 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005334/0.1669, allocations: 3.592 MB / 0.8302 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002632/0.1672, allocations: 11.88 kB / 0.8302 GB, free: 10.69 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/Photovoltaics/BaseClasses/PVModuleGeneral.mo:38:3-39:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/Photovoltaics/BaseClasses/OpticalModels/OpticalModelGeneral.mo:10:3-12:121:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.1677, allocations: 119 kB / 0.8303 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.1688, allocations: 461.5 kB / 0.8308 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008415/0.1696, allocations: 401.7 kB / 0.8311 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000869/0.1705, allocations: 0.8189 MB / 0.8319 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.1707, allocations: 139.1 kB / 0.8321 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004497/0.1712, allocations: 342.8 kB / 0.8324 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004972/0.1717, allocations: 342.7 kB / 0.8327 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.1718, allocations: 72 kB / 0.8328 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009034/0.1727, allocations: 0.4916 MB / 0.8333 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.1729, allocations: 179.4 kB / 0.8334 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.1733, allocations: 330.4 kB / 0.8338 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.1747, allocations: 1.121 MB / 0.8349 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1747, allocations: 3.938 kB / 0.8349 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1747, allocations: 0 / 0.8349 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.1747, allocations: 0 / 0.8349 GB, free: 5.898 MB / 0.5762 GB 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.002308/0.177, allocations: 0.9693 MB / 0.8358 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.177, allocations: 16.02 kB / 0.8358 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003296/0.1803, allocations: 0.5624 MB / 0.8364 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.1818, allocations: 0.5699 MB / 0.8369 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.1819, allocations: 122.2 kB / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.672e-05/0.182, allocations: 40 kB / 0.8371 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.1836, allocations: 0.6831 MB / 0.8377 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1836, allocations: 0 / 0.8377 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-05/0.1837, allocations: 24 kB / 0.8378 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.1837, allocations: 12 kB / 0.8378 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.1855, allocations: 0.7103 MB / 0.8385 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003606/0.1891, allocations: 1.824 MB / 0.8403 GB, free: 232 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/0.1919, allocations: 0.7815 MB / 0.841 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008964/0.1928, allocations: 330.1 kB / 0.8413 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/0.194, allocations: 209.4 kB / 0.8415 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/0.195, allocations: 433.9 kB / 0.842 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=56): time 2.725e-06/0.195, allocations: 0 / 0.842 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.007031/0.2021, allocations: 1.426 MB / 0.8433 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/0.2022, allocations: 119.3 kB / 0.8435 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005369/0.2027, allocations: 402 kB / 0.8438 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-05/0.2028, allocations: 37.7 kB / 0.8439 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.203, allocations: 269.1 kB / 0.8441 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.2032, allocations: 198.3 kB / 0.8443 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.2034, allocations: 122.2 kB / 0.8444 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.2036, allocations: 362.8 kB / 0.8448 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007948/0.2044, allocations: 301.1 kB / 0.8451 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009244/0.2053, allocations: 429.3 kB / 0.8455 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.2071, allocations: 0.6976 MB / 0.8462 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2071, allocations: 0 / 0.8462 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0045/0.2116, allocations: 1.068 MB / 0.8472 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.2116, allocations: 8 kB / 0.8472 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.2116, allocations: 4.344 kB / 0.8472 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003222/0.2148, allocations: 384.5 kB / 0.8476 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008417/0.2157, allocations: 155.8 kB / 0.8477 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004318/0.22, allocations: 2.065 MB / 0.8497 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007708/0.2207, allocations: 95.61 kB / 0.8498 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/0.2208, allocations: 31.97 kB / 0.8499 GB, free: 6.059 MB / 0.5919 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 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {3} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003608/0.2212, allocations: 205.6 kB / 0.8501 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.2213, allocations: 51.67 kB / 0.8501 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/0.2247, allocations: 1.074 MB / 0.8512 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.2247, allocations: 11.94 kB / 0.8512 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.2247, allocations: 0 / 0.8512 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.2247, allocations: 7.984 kB / 0.8512 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004043/0.2287, allocations: 1.734 MB / 0.8529 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2287, allocations: 0 / 0.8529 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007643/0.2295, allocations: 143.8 kB / 0.853 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009283/0.2304, allocations: 140.7 kB / 0.8531 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.087e-05/0.2305, allocations: 23.92 kB / 0.8532 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/0.2333, allocations: 1.824 MB / 0.855 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2333, allocations: 0 / 0.855 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002982/0.2362, allocations: 1.027 MB / 0.856 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.2365, allocations: 131.4 kB / 0.8561 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.27e-05/0.2366, allocations: 16 kB / 0.8561 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000597/0.2372, allocations: 53.66 kB / 0.8561 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.2373, allocations: 48.56 kB / 0.8562 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.488e-05/0.2374, allocations: 27.97 kB / 0.8562 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003484/0.2377, allocations: 275.2 kB / 0.8565 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2377, allocations: 0 / 0.8565 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008047/0.2386, allocations: 243.4 kB / 0.8567 GB, free: 14.83 MB / 0.6075 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001701/0.2403, allocations: 0.5036 MB / 0.8572 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002407/0.2427, allocations: 0.8598 MB / 0.858 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.2427, allocations: 12.06 kB / 0.8581 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.2439, allocations: 0.502 MB / 0.8585 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.2444, allocations: 79.7 kB / 0.8586 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.2469, allocations: 1.233 MB / 0.8598 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.2474, allocations: 0.8888 MB / 0.8607 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005719/0.248, allocations: 152.4 kB / 0.8608 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.2482, allocations: 71.39 kB / 0.8609 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.2482, allocations: 0 / 0.8609 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.01917/0.2674, allocations: 10.63 MB / 0.8713 GB, free: 20 kB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.579600969009334] Failed to read output from testmodel.py, exit status != 0: 0.27521719498327 0.28994173 0.112244095 Calling exit ...