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.0009151/0.0009151, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009977/0.0009977, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.034/1.034, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.001657/0.001657, allocations: 249.6 kB / 260.5 MB, free: 12.69 MB / 250.7 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 0.8043/0.8043, allocations: 138.4 MB / 402.2 MB, free: 0.5586 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 462.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.849e-05, allocations: 7.016 kB / 462.3 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.004061/0.00408, allocations: 3.651 MB / 466 MB, free: 14.59 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004375/0.008455, allocations: 3.705 MB / 469.7 MB, free: 11.33 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003679/0.008823, allocations: 17.69 kB / 469.7 MB, free: 11.32 MB / 426.7 MB [/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.0004747/0.009298, allocations: 122.8 kB / 469.8 MB, free: 11.2 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.01045, allocations: 496.4 kB / 470.3 MB, free: 10.71 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.01109, allocations: 376 kB / 470.7 MB, free: 10.35 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006752/0.01176, allocations: 0.789 MB / 471.4 MB, free: 9.559 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.01196, allocations: 135.5 kB / 471.6 MB, free: 9.434 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005292/0.01249, allocations: 460.2 kB / 472 MB, free: 8.984 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.01283, allocations: 264.1 kB / 472.3 MB, free: 8.727 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.455e-05/0.0129, allocations: 68 kB / 472.4 MB, free: 8.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00076/0.01366, allocations: 0.5707 MB / 472.9 MB, free: 8.09 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.01379, allocations: 175.4 kB / 473.1 MB, free: 7.918 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.01394, allocations: 211.5 kB / 473.3 MB, free: 7.711 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.01513, allocations: 0.9265 MB / 474.2 MB, free: 6.781 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.01514, allocations: 0.625 kB / 474.2 MB, free: 6.781 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01514, allocations: 0.5 kB / 474.2 MB, free: 6.781 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.01515, allocations: 4 kB / 474.2 MB, free: 6.777 MB / 426.7 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.001139/0.01629, allocations: 0.9361 MB / 475.2 MB, free: 5.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.01631, allocations: 9.562 kB / 475.2 MB, free: 5.812 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.01741, allocations: 325 kB / 475.5 MB, free: 5.504 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.01782, allocations: 351.6 kB / 475.8 MB, free: 5.137 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.01792, allocations: 200.3 kB / 476 MB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/0.01798, allocations: 44.97 kB / 476.1 MB, free: 4.863 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.01853, allocations: 0.5052 MB / 476.6 MB, free: 4.328 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.01854, allocations: 0.6562 kB / 476.6 MB, free: 4.328 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.01858, allocations: 20 kB / 476.6 MB, free: 4.309 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.01859, allocations: 17.41 kB / 476.6 MB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.01891, allocations: 227.5 kB / 476.8 MB, free: 4.074 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.02053, allocations: 1.02 MB / 477.9 MB, free: 3.035 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007214/0.02125, allocations: 366.1 kB / 478.2 MB, free: 2.676 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.02143, allocations: 123 kB / 478.3 MB, free: 2.555 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004472/0.02187, allocations: 185.6 kB / 478.5 MB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/0.02214, allocations: 219.3 kB / 478.7 MB, free: 2.156 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 2.775e-06/0.02214, allocations: 0 / 478.7 MB, free: 2.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.0005035/0.02265, allocations: 339.3 kB / 479.1 MB, free: 1.824 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.02269, allocations: 111.3 kB / 479.2 MB, free: 1.691 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.02292, allocations: 371.1 kB / 479.5 MB, free: 1.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.02297, allocations: 39.45 kB / 479.6 MB, free: 1.277 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.02307, allocations: 234 kB / 479.8 MB, free: 1.047 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.02317, allocations: 178.5 kB / 480 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.02331, allocations: 118.2 kB / 480.1 MB, free: 0.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.02341, allocations: 363.2 kB / 480.4 MB, free: 396 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.02354, allocations: 73.84 kB / 480.5 MB, free: 324 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.02373, allocations: 262.9 kB / 480.8 MB, free: 4 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.02408, allocations: 322.8 kB / 481.1 MB, free: 15.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.02408, allocations: 3.938 kB / 481.1 MB, free: 15.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007045/0.02479, allocations: 333.7 kB / 481.4 MB, free: 15.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.0248, allocations: 7.984 kB / 481.4 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.02481, allocations: 6.656 kB / 481.4 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.02483, allocations: 8 kB / 481.4 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.02679, allocations: 0.5393 MB / 482 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.02783, allocations: 1.374 MB / 483.4 MB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.02809, allocations: 59.66 kB / 483.4 MB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.02813, allocations: 32.41 kB / 483.4 MB, free: 13.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 4 (radiation.outsidePolarCircle,weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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.0001569/0.02829, allocations: 142.6 kB / 483.6 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.177e-05/0.02836, allocations: 47.89 kB / 483.6 MB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008944/0.02926, allocations: 0.5078 MB / 484.1 MB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.02926, allocations: 12.91 kB / 484.2 MB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.02926, allocations: 0 / 484.2 MB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.02927, allocations: 3.984 kB / 484.2 MB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.03044, allocations: 0.8319 MB / 485 MB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.03044, allocations: 5.25 kB / 485 MB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.03078, allocations: 128.3 kB / 485.1 MB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000535/0.03131, allocations: 132 kB / 485.3 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.03135, allocations: 13.8 kB / 485.3 MB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009042/0.03225, allocations: 1.342 MB / 486.6 MB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.03225, allocations: 0 / 486.6 MB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.03293, allocations: 0.4926 MB / 487.1 MB, free: 9.453 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.03308, allocations: 99.86 kB / 487.2 MB, free: 9.359 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.03314, allocations: 23.92 kB / 487.2 MB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.03335, allocations: 25.61 kB / 487.2 MB, free: 9.312 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.03342, allocations: 49.67 kB / 487.3 MB, free: 9.266 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.03346, allocations: 15.98 kB / 487.3 MB, free: 9.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.03358, allocations: 155.2 kB / 487.5 MB, free: 9.098 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03358, allocations: 0.9375 kB / 487.5 MB, free: 9.098 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005458/0.03412, allocations: 259.3 kB / 487.7 MB, free: 8.844 MB / 442.7 MB 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.001499/0.03562, allocations: 0.699 MB / 488.4 MB, free: 8.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001906/0.03753, allocations: 0.5649 MB / 489 MB, free: 7.922 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/0.03754, allocations: 8 kB / 489 MB, free: 7.914 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.03791, allocations: 312.8 kB / 489.3 MB, free: 7.594 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.03821, allocations: 90.19 kB / 489.4 MB, free: 7.516 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.03959, allocations: 0.9935 MB / 490.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.203e-05/0.03967, allocations: 141.8 kB / 490.5 MB, free: 6.336 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003419/0.04002, allocations: 123.5 kB / 490.6 MB, free: 6.254 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/0.04033, allocations: 159.9 kB / 490.8 MB, free: 6.098 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/0.04033, allocations: 0 / 490.8 MB, free: 6.098 MB / 442.7 MB Notification: Performance of Templates: time 0.01349/0.05382, allocations: 10.81 MB / 0.4898 GB, free: 11.59 MB / 458.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.019524944014847]