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.001289/0.001289, allocations: 77.78 kB / 19.76 MB, free: 2.027 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.00132/0.00132, allocations: 159.3 kB / 23.01 MB, free: 4.949 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.333/1.333, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.002372/0.002372, allocations: 233.6 kB / 260 MB, free: 432 kB / 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 0.904/0.904, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.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.003107/0.003107, allocations: 99.84 kB / 0.6473 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3934, allocations: 95.34 MB / 0.7404 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.004407/0.3978, allocations: 3.484 MB / 0.7438 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004612/0.4024, allocations: 3.489 MB / 0.7472 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003854/0.4028, allocations: 13.78 kB / 0.7472 GB, free: 12.75 MB / 0.5919 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.0004807/0.4033, allocations: 123.8 kB / 0.7474 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.4047, allocations: 0.4924 MB / 0.7478 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008288/0.4055, allocations: 378.4 kB / 0.7482 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008687/0.4064, allocations: 0.7722 MB / 0.749 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.4066, allocations: 130.6 kB / 0.7491 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.4071, allocations: 337.8 kB / 0.7494 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005513/0.4077, allocations: 304.3 kB / 0.7497 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.4078, allocations: 67.91 kB / 0.7498 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.4088, allocations: 0.5365 MB / 0.7503 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.409, allocations: 174.8 kB / 0.7504 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003194/0.4093, allocations: 261.6 kB / 0.7507 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.4109, allocations: 1.165 MB / 0.7518 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4109, allocations: 0 / 0.7518 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4109, allocations: 3.938 kB / 0.7518 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.577e-05/0.4109, allocations: 1.406 kB / 0.7518 GB, free: 10.57 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.002019/0.413, allocations: 0.9771 MB / 0.7528 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.413, allocations: 11.09 kB / 0.7528 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/0.4165, allocations: 0.6046 MB / 0.7534 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.4178, allocations: 0.5718 MB / 0.7539 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.4179, allocations: 197.5 kB / 0.7541 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-05/0.418, allocations: 50.72 kB / 0.7542 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.4194, allocations: 0.7311 MB / 0.7549 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4194, allocations: 8 kB / 0.7549 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.4194, allocations: 20.47 kB / 0.7549 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.4194, allocations: 11.94 kB / 0.7549 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.421, allocations: 0.6853 MB / 0.7556 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/0.4238, allocations: 1.534 MB / 0.7571 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.4263, allocations: 0.7639 MB / 0.7579 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006967/0.427, allocations: 302.4 kB / 0.7581 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.428, allocations: 202.1 kB / 0.7583 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007991/0.4288, allocations: 394.5 kB / 0.7587 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.084e-06/0.4288, allocations: 0 / 0.7587 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.002288/0.4311, allocations: 0.9267 MB / 0.7596 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.4311, allocations: 118.5 kB / 0.7597 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.4315, allocations: 433.4 kB / 0.7601 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.4316, allocations: 36.64 kB / 0.7602 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.4317, allocations: 283 kB / 0.7604 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.4318, allocations: 187.2 kB / 0.7606 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.432, allocations: 121.4 kB / 0.7607 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.4321, allocations: 358.2 kB / 0.7611 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006617/0.4327, allocations: 280.8 kB / 0.7613 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007289/0.4335, allocations: 460 kB / 0.7618 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.4349, allocations: 0.6613 MB / 0.7624 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.4349, allocations: 1.344 kB / 0.7624 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001685/0.4366, allocations: 0.7627 MB / 0.7632 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4366, allocations: 9.188 kB / 0.7632 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4366, allocations: 2.938 kB / 0.7632 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4366, allocations: 6.219 kB / 0.7632 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.4383, allocations: 250.7 kB / 0.7634 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.4395, allocations: 1.466 MB / 0.7649 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/0.4401, allocations: 86.12 kB / 0.765 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/0.4402, allocations: 35.47 kB / 0.765 GB, free: 1.953 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): 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.0002285/0.4404, allocations: 201.8 kB / 0.7652 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.4405, allocations: 59.66 kB / 0.7652 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/0.4429, allocations: 0.9273 MB / 0.7661 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.4429, allocations: 6.938 kB / 0.7661 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4429, allocations: 5.219 kB / 0.7662 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.4429, allocations: 3.984 kB / 0.7662 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.4457, allocations: 1.44 MB / 0.7676 GB, free: 296 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4457, allocations: 4 kB / 0.7676 GB, free: 292 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006783/0.4464, allocations: 146 kB / 0.7677 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004771/0.4468, allocations: 62.73 kB / 0.7678 GB, free: 216 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/0.4469, allocations: 21.42 kB / 0.7678 GB, free: 200 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.4484, allocations: 1.454 MB / 0.7692 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4484, allocations: 3.938 kB / 0.7692 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/0.4507, allocations: 0.9068 MB / 0.7701 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/0.451, allocations: 136.1 kB / 0.7702 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.292e-05/0.4511, allocations: 10.75 kB / 0.7702 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005709/0.4517, allocations: 54.06 kB / 0.7703 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.4518, allocations: 54.38 kB / 0.7703 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.717e-05/0.4518, allocations: 21.73 kB / 0.7704 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003335/0.4522, allocations: 294.4 kB / 0.7706 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.4522, allocations: 0 / 0.7706 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008419/0.453, allocations: 248.5 kB / 0.7709 GB, free: 13.82 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.001967/0.455, allocations: 0.5923 MB / 0.7715 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002647/0.4576, allocations: 0.7491 MB / 0.7722 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4576, allocations: 1.062 kB / 0.7722 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.4587, allocations: 480.2 kB / 0.7726 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.4591, allocations: 68.5 kB / 0.7727 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.4614, allocations: 1.238 MB / 0.7739 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.4617, allocations: 280.4 kB / 0.7742 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005444/0.4623, allocations: 151.2 kB / 0.7743 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.4625, allocations: 82.19 kB / 0.7744 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.4625, allocations: 4 kB / 0.7744 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of Templates: time 0.01704/0.4796, allocations: 9.195 MB / 0.7834 GB, free: 6.488 MB / 0.6075 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0018046259647235] Failed to read output from testmodel.py, exit status != 0: 0.4877149510430172 0.501363978 0.087500915 Calling exit ...