Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.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.001266/0.001266, 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.00149/0.00149, allocations: 216.3 kB / 22.99 MB, free: 4.914 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.351/1.351, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002437/0.002437, allocations: 290.8 kB / 313.5 MB, free: 2.617 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.145/1.145, allocations: 180.6 MB / 0.5377 GB, free: 14.43 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.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") [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.002914/0.002914, allocations: 102.6 kB / 0.7407 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1625, allocations: 95.39 MB / 0.8338 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.005491/0.168, allocations: 3.494 MB / 0.8373 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005666/0.1736, allocations: 3.49 MB / 0.8407 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003115/0.1739, allocations: 15.88 kB / 0.8407 GB, free: 0.8945 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.0004867/0.1744, allocations: 118.9 kB / 0.8408 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.1757, allocations: 0.5012 MB / 0.8413 GB, free: 280 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.1765, allocations: 364.5 kB / 0.8416 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008297/0.1773, allocations: 0.768 MB / 0.8424 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.1776, allocations: 126.5 kB / 0.8425 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.178, allocations: 322.9 kB / 0.8428 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000467/0.1785, allocations: 306.6 kB / 0.8431 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.657e-05/0.1786, allocations: 64 kB / 0.8432 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009492/0.1795, allocations: 0.5385 MB / 0.8437 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.1797, allocations: 171.5 kB / 0.8438 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.18, allocations: 258.6 kB / 0.8441 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.1814, allocations: 1.171 MB / 0.8452 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1814, allocations: 0 / 0.8452 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1814, allocations: 0 / 0.8452 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.1814, allocations: 4 kB / 0.8452 GB, free: 12.2 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.001918/0.1834, allocations: 0.9651 MB / 0.8462 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1834, allocations: 13.34 kB / 0.8462 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003611/0.187, allocations: 0.6482 MB / 0.8468 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.1884, allocations: 0.566 MB / 0.8474 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.1886, allocations: 211.7 kB / 0.8476 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.289e-05/0.1887, allocations: 43.94 kB / 0.8476 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.1903, allocations: 0.7701 MB / 0.8484 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.1903, allocations: 0 / 0.8484 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-05/0.1904, allocations: 20 kB / 0.8484 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.1904, allocations: 12 kB / 0.8484 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.1924, allocations: 0.7494 MB / 0.8491 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003514/0.1959, allocations: 1.571 MB / 0.8507 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.1988, allocations: 0.8034 MB / 0.8515 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009888/0.1998, allocations: 329.9 kB / 0.8518 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.2009, allocations: 196.2 kB / 0.852 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/0.2021, allocations: 429.1 kB / 0.8524 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.675e-06/0.2021, allocations: 0 / 0.8524 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.003026/0.2051, allocations: 1.022 MB / 0.8534 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.557e-05/0.2052, allocations: 111.2 kB / 0.8535 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006188/0.2058, allocations: 437.9 kB / 0.8539 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.631e-05/0.2059, allocations: 41.69 kB / 0.8539 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.2062, allocations: 289 kB / 0.8542 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.2064, allocations: 186.4 kB / 0.8544 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.2066, allocations: 122.2 kB / 0.8545 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.2068, allocations: 370.7 kB / 0.8549 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008713/0.2077, allocations: 297.1 kB / 0.8551 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.2087, allocations: 496.8 kB / 0.8556 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.2105, allocations: 0.6974 MB / 0.8563 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2105, allocations: 0 / 0.8563 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002147/0.2127, allocations: 0.8211 MB / 0.8571 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.2127, allocations: 8 kB / 0.8571 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2127, allocations: 8.219 kB / 0.8571 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.2127, allocations: 7.938 kB / 0.8571 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008795/0.2136, allocations: 171.7 kB / 0.8573 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.2136, allocations: 11.94 kB / 0.8573 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006772/0.2143, allocations: 107.5 kB / 0.8574 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.2144, allocations: 27.97 kB / 0.8574 GB, free: 15.34 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): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003125/0.2147, allocations: 211.5 kB / 0.8576 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.2148, allocations: 55.67 kB / 0.8577 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.2171, allocations: 0.8971 MB / 0.8586 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.2171, allocations: 4 kB / 0.8586 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2171, allocations: 0 / 0.8586 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.2171, allocations: 7.922 kB / 0.8586 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/0.22, allocations: 1.398 MB / 0.8599 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.22, allocations: 0 / 0.8599 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007734/0.2208, allocations: 151.8 kB / 0.8601 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.2208, allocations: 4 kB / 0.8601 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.2208, allocations: 15.98 kB / 0.8601 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.2209, allocations: 7.938 kB / 0.8601 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2209, allocations: 3.938 kB / 0.8601 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.2228, allocations: 0.8585 MB / 0.8609 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.2231, allocations: 135.3 kB / 0.8611 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-05/0.2232, allocations: 15.98 kB / 0.8611 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/0.2238, allocations: 59.81 kB / 0.8611 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.2239, allocations: 44.58 kB / 0.8612 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-05/0.2239, allocations: 23.98 kB / 0.8612 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000375/0.2243, allocations: 303.1 kB / 0.8615 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.2243, allocations: 0 / 0.8615 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007652/0.2251, allocations: 251.3 kB / 0.8617 GB, free: 10.86 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): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001951/0.227, allocations: 0.5907 MB / 0.8623 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002001/0.229, allocations: 0.7037 MB / 0.863 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.229, allocations: 4 kB / 0.863 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009125/0.23, allocations: 359.9 kB / 0.8634 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.2304, allocations: 72.23 kB / 0.8634 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.2329, allocations: 1.289 MB / 0.8647 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.2332, allocations: 282.2 kB / 0.8649 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.2336, allocations: 79.38 kB / 0.865 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.2336, allocations: 0 / 0.865 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of Templates: time 0.01631/0.2499, allocations: 10.9 MB / 0.8757 GB, free: 12.74 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.977231731172651] Failed to read output from testmodel.py, exit status != 0: 0.25752882892265916 0.27262901500000003 0.08817293600000001 Calling exit ...