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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 218.2 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002445/0.002445, allocations: 293.8 kB / 313.5 MB, free: 2.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.186/1.186, allocations: 180.6 MB / 0.5377 GB, free: 13.05 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002812, allocations: 106.7 kB / 0.7408 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1777, allocations: 95.37 MB / 0.8339 GB, free: 8.227 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.005808/0.1835, allocations: 3.788 MB / 0.8376 GB, free: 4.422 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.006009/0.1896, allocations: 3.741 MB / 0.8413 GB, free: 0.6641 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004625/0.19, allocations: 15.88 kB / 0.8413 GB, free: 0.6484 MB / 0.5763 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 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 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 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.0006322/0.1906, allocations: 127 kB / 0.8414 GB, free: 0.5234 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.1926, allocations: 0.4934 MB / 0.8419 GB, free: 28 kB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.1941, allocations: 369.6 kB / 0.8422 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001696/0.1958, allocations: 0.7722 MB / 0.843 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.1962, allocations: 138.5 kB / 0.8431 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008286/0.197, allocations: 330.8 kB / 0.8434 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009068/0.1979, allocations: 338.6 kB / 0.8438 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002687/0.1982, allocations: 71.94 kB / 0.8438 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.1998, allocations: 0.5697 MB / 0.8444 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003254/0.2002, allocations: 175.4 kB / 0.8446 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005352/0.2007, allocations: 326.3 kB / 0.8449 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.203, allocations: 1.168 MB / 0.846 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.203, allocations: 0 / 0.846 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.203, allocations: 0 / 0.846 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.176e-05/0.203, allocations: 0 / 0.846 GB, free: 11.79 MB / 0.5919 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.002868/0.2059, allocations: 0.9691 MB / 0.847 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.206, allocations: 9.344 kB / 0.847 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/0.2096, allocations: 0.6131 MB / 0.8476 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.2113, allocations: 0.5699 MB / 0.8481 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000234/0.2115, allocations: 195.8 kB / 0.8483 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.2116, allocations: 51.94 kB / 0.8484 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.2132, allocations: 0.6596 MB / 0.849 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.2132, allocations: 0 / 0.849 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/0.2133, allocations: 20 kB / 0.849 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.2133, allocations: 12 kB / 0.849 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.2151, allocations: 0.6948 MB / 0.8497 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004011/0.2191, allocations: 1.745 MB / 0.8514 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002695/0.2218, allocations: 0.7666 MB / 0.8522 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008023/0.2226, allocations: 298 kB / 0.8525 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/0.2237, allocations: 200.2 kB / 0.8526 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009273/0.2247, allocations: 401.1 kB / 0.853 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.986e-06/0.2247, allocations: 0 / 0.853 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.002527/0.2272, allocations: 0.928 MB / 0.8539 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.2273, allocations: 111.2 kB / 0.854 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006613/0.228, allocations: 443 kB / 0.8545 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.848e-05/0.228, allocations: 29.7 kB / 0.8545 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.2283, allocations: 285.1 kB / 0.8548 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.2285, allocations: 182.4 kB / 0.8549 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.2287, allocations: 126.2 kB / 0.8551 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.2289, allocations: 362.8 kB / 0.8554 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000722/0.2296, allocations: 265.1 kB / 0.8557 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008489/0.2305, allocations: 421.4 kB / 0.8561 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.232, allocations: 0.6506 MB / 0.8567 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.2321, allocations: 4 kB / 0.8567 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001965/0.234, allocations: 0.7703 MB / 0.8574 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.234, allocations: 8 kB / 0.8575 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2341, allocations: 0 / 0.8575 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.2341, allocations: 8 kB / 0.8575 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/0.2358, allocations: 251.9 kB / 0.8577 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.2377, allocations: 1.49 MB / 0.8592 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007157/0.2384, allocations: 91.72 kB / 0.8592 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.2385, allocations: 27.97 kB / 0.8593 GB, free: 13.73 MB / 0.6075 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 {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003807/0.2389, allocations: 211.8 kB / 0.8595 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.2391, allocations: 51.67 kB / 0.8595 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/0.2417, allocations: 0.933 MB / 0.8604 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.2417, allocations: 8 kB / 0.8604 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2417, allocations: 4 kB / 0.8604 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.2417, allocations: 7.984 kB / 0.8605 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/0.2452, allocations: 1.616 MB / 0.862 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2452, allocations: 0 / 0.862 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007379/0.246, allocations: 139.8 kB / 0.8622 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005006/0.2465, allocations: 56.81 kB / 0.8622 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.257e-05/0.2465, allocations: 23.97 kB / 0.8622 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.2483, allocations: 1.477 MB / 0.8637 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.2484, allocations: 8 kB / 0.8637 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.2507, allocations: 0.9022 MB / 0.8646 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/0.251, allocations: 139.3 kB / 0.8647 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.2511, allocations: 16 kB / 0.8647 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000607/0.2517, allocations: 52.62 kB / 0.8648 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.2519, allocations: 44.56 kB / 0.8648 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.2519, allocations: 23.98 kB / 0.8648 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004206/0.2523, allocations: 303.1 kB / 0.8651 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2523, allocations: 0 / 0.8651 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008763/0.2532, allocations: 255.4 kB / 0.8654 GB, free: 7.277 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 (66): * Single equations (assignments): 64 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001989/0.2552, allocations: 0.5658 MB / 0.8659 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002694/0.2579, allocations: 0.7388 MB / 0.8666 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.2579, allocations: 4.438 kB / 0.8666 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.259, allocations: 482.2 kB / 0.8671 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.2596, allocations: 69.86 kB / 0.8672 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.2624, allocations: 1.277 MB / 0.8684 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006168/0.263, allocations: 0.8772 MB / 0.8693 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.2633, allocations: 79.38 kB / 0.8694 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of SimCode: time 9.82e-07/0.2633, allocations: 0 / 0.8694 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of Templates: time 0.02083/0.2841, allocations: 12.81 MB / 0.8819 GB, free: 6.488 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.206102696014568] Failed to read output from testmodel.py, exit status != 0: 0.2926883290056139 0.30862791500000003 0.102352517 Calling exit ...