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.001605/0.001605, allocations: 77.36 kB / 19.01 MB, free: 2.859 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.001783/0.001783, allocations: 155.8 kB / 22.25 MB, free: 5.109 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.393/1.393, allocations: 177.2 MB / 202.6 MB, free: 9.262 MB / 190.1 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.002442/0.002442, allocations: 229.9 kB / 259.2 MB, free: 0.5781 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.057/1.057, allocations: 138.5 MB / 454.2 MB, free: 2.086 MB / 366.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.002986/0.002986, allocations: 115 kB / 0.6466 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3984, allocations: 95.34 MB / 0.7397 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.005424/0.4039, allocations: 3.505 MB / 0.7431 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005531/0.4094, allocations: 3.474 MB / 0.7465 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.4097, allocations: 15.88 kB / 0.7465 GB, free: 8.199 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.0004824/0.4101, allocations: 122.9 kB / 0.7466 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.4114, allocations: 0.5051 MB / 0.7471 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007803/0.4121, allocations: 359.7 kB / 0.7475 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008127/0.4129, allocations: 0.7642 MB / 0.7482 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.4132, allocations: 138.4 kB / 0.7483 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006343/0.4138, allocations: 486.6 kB / 0.7488 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.4143, allocations: 294.6 kB / 0.7491 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.574e-05/0.4144, allocations: 64 kB / 0.7491 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008986/0.4153, allocations: 0.5424 MB / 0.7497 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.4155, allocations: 171.4 kB / 0.7498 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.4158, allocations: 262.7 kB / 0.7501 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.4172, allocations: 1.164 MB / 0.7512 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4173, allocations: 3.938 kB / 0.7512 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4173, allocations: 4 kB / 0.7512 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.4173, allocations: 0 / 0.7512 GB, free: 3.34 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.002075/0.4193, allocations: 0.9651 MB / 0.7522 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4194, allocations: 13.34 kB / 0.7522 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004069/0.4235, allocations: 0.6404 MB / 0.7528 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.4249, allocations: 0.5777 MB / 0.7534 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.4251, allocations: 195.8 kB / 0.7536 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.732e-05/0.4252, allocations: 47.94 kB / 0.7536 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.4269, allocations: 0.7701 MB / 0.7544 GB, free: 4 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.4269, allocations: 3.984 kB / 0.7544 GB, free: 0 / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.237e-05/0.427, allocations: 20.08 kB / 0.7544 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.427, allocations: 12 kB / 0.7544 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.4292, allocations: 0.7533 MB / 0.7551 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.4328, allocations: 1.568 MB / 0.7567 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.436, allocations: 0.8065 MB / 0.7574 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.437, allocations: 330.1 kB / 0.7578 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/0.4382, allocations: 204.3 kB / 0.758 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.4393, allocations: 429.9 kB / 0.7584 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 3.116e-06/0.4393, allocations: 8 kB / 0.7584 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.003129/0.4425, allocations: 1.008 MB / 0.7594 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.588e-05/0.4426, allocations: 111.3 kB / 0.7595 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/0.4431, allocations: 442.3 kB / 0.7599 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/0.4432, allocations: 37.7 kB / 0.7599 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.4434, allocations: 289 kB / 0.7602 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.4436, allocations: 194.3 kB / 0.7604 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.4438, allocations: 126.2 kB / 0.7605 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.444, allocations: 362.7 kB / 0.7609 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000947/0.445, allocations: 305.1 kB / 0.7611 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.446, allocations: 491.2 kB / 0.7616 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.448, allocations: 0.6977 MB / 0.7623 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.448, allocations: 4 kB / 0.7623 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002222/0.4502, allocations: 0.8096 MB / 0.7631 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.4502, allocations: 12.03 kB / 0.7631 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.4502, allocations: 4 kB / 0.7631 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4502, allocations: 4 kB / 0.7631 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009521/0.4512, allocations: 179.7 kB / 0.7633 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.4512, allocations: 7.984 kB / 0.7633 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007748/0.452, allocations: 103.5 kB / 0.7634 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.039e-05/0.4521, allocations: 31.97 kB / 0.7634 GB, free: 6.496 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): 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.0003333/0.4524, allocations: 205.7 kB / 0.7636 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.4525, allocations: 55.66 kB / 0.7637 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/0.455, allocations: 0.8932 MB / 0.7645 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.4551, allocations: 4 kB / 0.7645 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.4551, allocations: 4 kB / 0.7645 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.4551, allocations: 15.86 kB / 0.7646 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.4583, allocations: 1.39 MB / 0.7659 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4583, allocations: 4 kB / 0.7659 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008582/0.4591, allocations: 151.8 kB / 0.7661 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/0.4592, allocations: 4 kB / 0.7661 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/0.4592, allocations: 15.98 kB / 0.7661 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.345e-06/0.4592, allocations: 7.938 kB / 0.7661 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4592, allocations: 0 / 0.7661 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.4614, allocations: 0.8624 MB / 0.7669 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/0.4618, allocations: 135.3 kB / 0.7671 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4619, allocations: 12 kB / 0.7671 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/0.4626, allocations: 59.88 kB / 0.7671 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.4627, allocations: 44.56 kB / 0.7672 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.347e-05/0.4627, allocations: 27.92 kB / 0.7672 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00044/0.4632, allocations: 303.1 kB / 0.7675 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4632, allocations: 7.938 kB / 0.7675 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008863/0.4641, allocations: 247.3 kB / 0.7677 GB, free: 2 MB / 0.5919 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.002059/0.4661, allocations: 0.585 MB / 0.7683 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002231/0.4684, allocations: 0.7114 MB / 0.769 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4684, allocations: 0 / 0.769 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009671/0.4693, allocations: 360 kB / 0.7693 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.4698, allocations: 66.14 kB / 0.7694 GB, free: 492 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.4725, allocations: 1.253 MB / 0.7706 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.4728, allocations: 282.2 kB / 0.7709 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006463/0.4735, allocations: 160.4 kB / 0.7711 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.4737, allocations: 68.45 kB / 0.7711 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.4737, allocations: 4 kB / 0.7711 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of Templates: time 0.01848/0.4922, allocations: 9.1 MB / 0.78 GB, free: 5.645 MB / 0.6075 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: 6.188673816621304] Failed to read output from testmodel.py, exit status != 0: 0.5013580210506916 0.5168271729999999 0.096482356 Calling exit ...