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.00128/0.00128, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001377/0.001377, allocations: 222.9 kB / 23 MB, free: 4.91 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.372/1.372, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.002484/0.002484, allocations: 295.6 kB / 313.5 MB, free: 2.633 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.188/1.188, allocations: 180.6 MB / 0.5377 GB, free: 14.5 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.002909/0.002909, allocations: 101 kB / 0.7407 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1893, allocations: 95.39 MB / 0.8338 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.0066/0.1959, allocations: 3.481 MB / 0.8372 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007128/0.2031, allocations: 3.487 MB / 0.8406 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007082/0.2038, allocations: 11.88 kB / 0.8406 GB, free: 0.832 MB / 0.5762 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.0008393/0.2046, allocations: 122.9 kB / 0.8408 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.2071, allocations: 0.4935 MB / 0.8412 GB, free: 220 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.2084, allocations: 366.3 kB / 0.8416 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.2099, allocations: 0.7799 MB / 0.8424 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004099/0.2103, allocations: 130.4 kB / 0.8425 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008765/0.2112, allocations: 330.8 kB / 0.8428 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006998/0.2119, allocations: 302.6 kB / 0.8431 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.2121, allocations: 68 kB / 0.8432 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.2135, allocations: 0.5385 MB / 0.8437 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.2137, allocations: 171.4 kB / 0.8438 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003917/0.2141, allocations: 270.6 kB / 0.8441 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.2159, allocations: 1.164 MB / 0.8452 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.216, allocations: 4 kB / 0.8452 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.044e-06/0.216, allocations: 0 / 0.8452 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.216, allocations: 4 kB / 0.8452 GB, free: 12.1 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.002067/0.218, allocations: 0.969 MB / 0.8462 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2181, allocations: 9.344 kB / 0.8462 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003387/0.2215, allocations: 0.6131 MB / 0.8468 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.2229, allocations: 0.5699 MB / 0.8474 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.2231, allocations: 191.8 kB / 0.8475 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.296e-05/0.2231, allocations: 51.94 kB / 0.8476 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.2246, allocations: 0.7427 MB / 0.8483 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2246, allocations: 0 / 0.8483 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.2247, allocations: 20 kB / 0.8483 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.2247, allocations: 12 kB / 0.8483 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.2263, allocations: 0.6791 MB / 0.849 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/0.2297, allocations: 1.547 MB / 0.8505 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.2323, allocations: 0.7692 MB / 0.8513 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007768/0.2331, allocations: 298 kB / 0.8516 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/0.2341, allocations: 200.2 kB / 0.8517 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008879/0.235, allocations: 397.1 kB / 0.8521 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.755e-06/0.235, allocations: 0 / 0.8521 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.002484/0.2375, allocations: 0.9319 MB / 0.853 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.2376, allocations: 107.2 kB / 0.8531 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/0.2381, allocations: 427.1 kB / 0.8535 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.029e-05/0.2382, allocations: 37.7 kB / 0.8536 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.2385, allocations: 285 kB / 0.8538 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.2387, allocations: 186.4 kB / 0.854 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.2389, allocations: 118.2 kB / 0.8541 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.2391, allocations: 370.7 kB / 0.8545 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007395/0.2398, allocations: 269.1 kB / 0.8547 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008959/0.2407, allocations: 468.8 kB / 0.8552 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.2423, allocations: 0.6545 MB / 0.8558 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2423, allocations: 0 / 0.8558 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001815/0.2441, allocations: 0.7626 MB / 0.8566 GB, free: 120 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.2441, allocations: 8 kB / 0.8566 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2441, allocations: 4 kB / 0.8566 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.2441, allocations: 4 kB / 0.8566 GB, free: 104 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.2458, allocations: 259.8 kB / 0.8568 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.2476, allocations: 1.451 MB / 0.8583 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/0.2483, allocations: 83.56 kB / 0.8583 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/0.2483, allocations: 31.98 kB / 0.8584 GB, free: 14.18 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.0003511/0.2487, allocations: 213.7 kB / 0.8586 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.2488, allocations: 63.5 kB / 0.8586 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/0.2514, allocations: 0.9408 MB / 0.8596 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.2514, allocations: 8 kB / 0.8596 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.2514, allocations: 0 / 0.8596 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.2514, allocations: 3.984 kB / 0.8596 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/0.2545, allocations: 1.434 MB / 0.861 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2545, allocations: 4 kB / 0.861 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000692/0.2552, allocations: 143.8 kB / 0.8611 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004802/0.2557, allocations: 56.81 kB / 0.8612 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.187e-05/0.2558, allocations: 23.92 kB / 0.8612 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.2574, allocations: 1.466 MB / 0.8626 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2574, allocations: 0 / 0.8626 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.2596, allocations: 0.9023 MB / 0.8635 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.26, allocations: 139.3 kB / 0.8636 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.976e-05/0.26, allocations: 15.94 kB / 0.8636 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/0.2606, allocations: 50.34 kB / 0.8637 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.2607, allocations: 56.5 kB / 0.8637 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/0.2608, allocations: 19.98 kB / 0.8638 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003682/0.2611, allocations: 299.1 kB / 0.864 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2611, allocations: 0 / 0.864 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007879/0.2619, allocations: 255.3 kB / 0.8643 GB, free: 7.922 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.001883/0.2638, allocations: 0.5853 MB / 0.8649 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002616/0.2664, allocations: 0.7427 MB / 0.8656 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2664, allocations: 0 / 0.8656 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.2675, allocations: 482.6 kB / 0.866 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.268, allocations: 72.25 kB / 0.8661 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.2704, allocations: 1.277 MB / 0.8674 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.2707, allocations: 278.2 kB / 0.8676 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.271, allocations: 79.38 kB / 0.8677 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.271, allocations: 4 kB / 0.8677 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of Templates: time 0.0184/0.2894, allocations: 13 MB / 0.8804 GB, free: 7.551 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.155182918999344] Failed to read output from testmodel.py, exit status != 0: 0.29724279791116714 0.310972888 0.092049194 Calling exit ...