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.0006953/0.0006953, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007163/0.0007163, allocations: 165.9 kB / 22.46 MB, free: 2.105 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 0.894/0.894, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001427/0.001427, allocations: 237.7 kB / 259.4 MB, free: 13.02 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.6625/0.6625, allocations: 138.4 MB / 454.3 MB, free: 1.648 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: "" <> buildModelFMU(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleComplex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleComplex",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 0.6462 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.642e-05, allocations: 8.328 kB / 0.6463 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.003639/0.003666, allocations: 3.461 MB / 0.6496 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003543/0.007209, allocations: 3.506 MB / 0.6531 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.007533, allocations: 13 kB / 0.6531 GB, free: 23.73 MB / 0.5105 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.0004585/0.007992, allocations: 125.1 kB / 0.6532 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.009, allocations: 0.5094 MB / 0.6537 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006066/0.009607, allocations: 372.8 kB / 0.654 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005531/0.01016, allocations: 0.7902 MB / 0.6548 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.01036, allocations: 130.2 kB / 0.6549 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.01081, allocations: 471.1 kB / 0.6554 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.0111, allocations: 260.3 kB / 0.6556 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.355e-05/0.01117, allocations: 66.91 kB / 0.6557 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007634/0.01194, allocations: 0.5465 MB / 0.6562 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.01205, allocations: 175.1 kB / 0.6564 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.0122, allocations: 216.6 kB / 0.6566 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009804/0.01318, allocations: 1.25 MB / 0.6578 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.01318, allocations: 0 / 0.6578 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.01318, allocations: 4 kB / 0.6578 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.01319, allocations: 3.938 kB / 0.6578 GB, free: 20.51 MB / 0.5105 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.00125/0.01444, allocations: 0.9577 MB / 0.6588 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.01449, allocations: 10.81 kB / 0.6588 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.804e-05/0.01455, allocations: 98.67 kB / 0.6589 GB, free: 19.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.01624, allocations: 0.6072 MB / 0.6595 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008651/0.0171, allocations: 0.5655 MB / 0.66 GB, free: 18.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.01721, allocations: 198.3 kB / 0.6602 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.01727, allocations: 42.12 kB / 0.6603 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009057/0.01818, allocations: 0.7429 MB / 0.661 GB, free: 18.24 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.01819, allocations: 0 / 0.661 GB, free: 18.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.01823, allocations: 23.48 kB / 0.661 GB, free: 18.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.01825, allocations: 11.81 kB / 0.661 GB, free: 18.22 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009179/0.01916, allocations: 0.6833 MB / 0.6617 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.02115, allocations: 1.612 MB / 0.6633 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.02248, allocations: 0.7768 MB / 0.664 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.02288, allocations: 302.2 kB / 0.6643 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/0.02343, allocations: 188.3 kB / 0.6645 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005088/0.02393, allocations: 398 kB / 0.6649 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 3.155e-06/0.02394, allocations: 0 / 0.6649 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=53): time 0.001285/0.02522, allocations: 0.9377 MB / 0.6658 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.02526, allocations: 107.3 kB / 0.6659 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.02556, allocations: 442.3 kB / 0.6663 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.02559, allocations: 33.7 kB / 0.6663 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/0.02569, allocations: 277.1 kB / 0.6666 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.825e-05/0.02576, allocations: 186.4 kB / 0.6668 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.02587, allocations: 118.2 kB / 0.6669 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.098e-05/0.02592, allocations: 366.7 kB / 0.6672 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.02626, allocations: 277.1 kB / 0.6675 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.02666, allocations: 460.8 kB / 0.6679 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007181/0.02738, allocations: 0.6547 MB / 0.6686 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.02738, allocations: 0 / 0.6686 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008868/0.02827, allocations: 0.7626 MB / 0.6693 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.02828, allocations: 8 kB / 0.6693 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.02829, allocations: 4 kB / 0.6693 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.02831, allocations: 4.219 kB / 0.6693 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007505/0.02906, allocations: 255.6 kB / 0.6696 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008041/0.02986, allocations: 1.482 MB / 0.671 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.03019, allocations: 86.31 kB / 0.6711 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.03022, allocations: 36.12 kB / 0.6711 GB, free: 7.703 MB / 0.5105 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.0001992/0.03042, allocations: 209.6 kB / 0.6713 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.03048, allocations: 55.61 kB / 0.6714 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.03171, allocations: 0.933 MB / 0.6723 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.03172, allocations: 8 kB / 0.6723 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.03172, allocations: 4 kB / 0.6723 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.03172, allocations: 3.984 kB / 0.6723 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.03335, allocations: 1.511 MB / 0.6738 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.03335, allocations: 3.938 kB / 0.6738 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.03368, allocations: 147.8 kB / 0.6739 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002551/0.03393, allocations: 60.75 kB / 0.674 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.03397, allocations: 19.98 kB / 0.674 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007141/0.03468, allocations: 1.469 MB / 0.6755 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.03468, allocations: 0 / 0.6755 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.03578, allocations: 0.91 MB / 0.6763 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.03596, allocations: 135.3 kB / 0.6765 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.03601, allocations: 16 kB / 0.6765 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.03627, allocations: 51.88 kB / 0.6765 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.03635, allocations: 48.56 kB / 0.6766 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.03639, allocations: 19.98 kB / 0.6766 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002098/0.0366, allocations: 311.1 kB / 0.6769 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/0.0366, allocations: 0 / 0.6769 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006196/0.03722, allocations: 247.4 kB / 0.6771 GB, free: 1.348 MB / 0.5105 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.002186/0.0394, allocations: 1.956 MB / 0.679 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.04087, allocations: 0.7466 MB / 0.6798 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.04087, allocations: 0 / 0.6798 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.04151, allocations: 478.6 kB / 0.6802 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.04189, allocations: 66.45 kB / 0.6803 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/0.04767, allocations: 5.185 MB / 0.6854 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.04786, allocations: 286.1 kB / 0.6856 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003954/0.04826, allocations: 152.5 kB / 0.6858 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.04853, allocations: 224.4 kB / 0.686 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/0.04853, allocations: 0 / 0.686 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.07788, allocations: 15.99 MB / 0.7016 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/7.737, allocations: 4.062 kB / 0.7016 GB, free: 8.383 MB / 0.5417 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleComplex_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleComplex.fmu > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.533492749556899] Failed to read output from testmodel.py, exit status != 0: 7.864788067527115 7.873491242 7.858470683 Calling exit ...