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.001291/0.001291, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001616/0.001616, allocations: 218 kB / 22.25 MB, free: 4.852 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.415/1.415, allocations: 230.6 MB / 256 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.002495/0.002495, allocations: 283.3 kB / 312.7 MB, free: 2.691 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.158/1.158, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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: "" <> buildModelFMU(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimple",fmuType="me",version="2.0",platforms={"static"}) [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.002953/0.002953, allocations: 96.23 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1569, allocations: 95.39 MB / 0.8326 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.005714/0.1627, allocations: 3.516 MB / 0.836 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005941/0.1686, allocations: 3.479 MB / 0.8394 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004538/0.1691, allocations: 11.88 kB / 0.8395 GB, free: 1.336 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.0006378/0.1697, allocations: 126.9 kB / 0.8396 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.1713, allocations: 0.5051 MB / 0.8401 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009184/0.1722, allocations: 355.4 kB / 0.8404 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001108/0.1733, allocations: 0.768 MB / 0.8412 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003287/0.1737, allocations: 126.4 kB / 0.8413 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006317/0.1743, allocations: 330.8 kB / 0.8416 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005352/0.1748, allocations: 290.6 kB / 0.8419 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.175, allocations: 64 kB / 0.8419 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.1761, allocations: 0.5463 MB / 0.8425 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.1763, allocations: 175.3 kB / 0.8426 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003441/0.1766, allocations: 262.7 kB / 0.8429 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.1784, allocations: 1.171 MB / 0.844 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1784, allocations: 0 / 0.844 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1784, allocations: 0 / 0.844 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.078e-05/0.1785, allocations: 0 / 0.844 GB, free: 12.63 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.002283/0.1808, allocations: 0.965 MB / 0.845 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1808, allocations: 13.94 kB / 0.845 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.1809, allocations: 90.7 kB / 0.8451 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003849/0.1848, allocations: 0.6443 MB / 0.8457 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.1863, allocations: 0.5738 MB / 0.8463 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.1865, allocations: 203.5 kB / 0.8465 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.1866, allocations: 48 kB / 0.8465 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.1883, allocations: 0.7662 MB / 0.8472 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1884, allocations: 0 / 0.8472 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.1884, allocations: 23.94 kB / 0.8473 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.1884, allocations: 8 kB / 0.8473 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.1906, allocations: 0.7533 MB / 0.848 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/0.1944, allocations: 1.637 MB / 0.8496 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.1974, allocations: 0.8069 MB / 0.8504 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009866/0.1984, allocations: 329.9 kB / 0.8507 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.1995, allocations: 196.2 kB / 0.8509 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/0.2007, allocations: 433 kB / 0.8513 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.685e-06/0.2007, allocations: 0 / 0.8513 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.003112/0.2038, allocations: 1.006 MB / 0.8523 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.2039, allocations: 111.2 kB / 0.8524 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007557/0.2047, allocations: 462.3 kB / 0.8528 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.891e-05/0.2047, allocations: 37.7 kB / 0.8529 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.205, allocations: 281.1 kB / 0.8531 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.2052, allocations: 190.4 kB / 0.8533 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.2055, allocations: 122.2 kB / 0.8534 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.2057, allocations: 362.8 kB / 0.8538 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009542/0.2066, allocations: 305 kB / 0.8541 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.2077, allocations: 496.8 kB / 0.8546 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/0.2097, allocations: 0.6974 MB / 0.8552 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.2097, allocations: 4 kB / 0.8552 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002369/0.212, allocations: 0.8133 MB / 0.856 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.2121, allocations: 8 kB / 0.856 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.2121, allocations: 7.938 kB / 0.8561 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.2121, allocations: 4 kB / 0.8561 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009517/0.2131, allocations: 179.9 kB / 0.8562 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/0.2131, allocations: 15.86 kB / 0.8562 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007648/0.2138, allocations: 95.56 kB / 0.8563 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.957e-05/0.2139, allocations: 31.97 kB / 0.8564 GB, free: 15.6 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.0004028/0.2143, allocations: 215.8 kB / 0.8566 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.2145, allocations: 55.67 kB / 0.8566 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.2171, allocations: 0.8933 MB / 0.8575 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.2171, allocations: 8 kB / 0.8575 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.2172, allocations: 3.938 kB / 0.8575 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.2172, allocations: 7.922 kB / 0.8575 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/0.2208, allocations: 1.464 MB / 0.8589 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2208, allocations: 0 / 0.8589 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008416/0.2216, allocations: 151.8 kB / 0.8591 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/0.2216, allocations: 3.938 kB / 0.8591 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/0.2217, allocations: 19.98 kB / 0.8591 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.2217, allocations: 0 / 0.8591 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2217, allocations: 8 kB / 0.8591 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.2238, allocations: 0.8584 MB / 0.86 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.2242, allocations: 143.3 kB / 0.8601 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.2243, allocations: 12 kB / 0.8601 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006317/0.2249, allocations: 56.97 kB / 0.8602 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.413e-05/0.225, allocations: 40.58 kB / 0.8602 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/0.2251, allocations: 27.97 kB / 0.8602 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004079/0.2255, allocations: 311.1 kB / 0.8605 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2255, allocations: 3.938 kB / 0.8605 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007804/0.2263, allocations: 247.4 kB / 0.8608 GB, free: 11.02 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.004306/0.2306, allocations: 1.908 MB / 0.8626 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002108/0.2327, allocations: 0.6998 MB / 0.8633 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2327, allocations: 0 / 0.8633 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009695/0.2336, allocations: 371.9 kB / 0.8637 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.2342, allocations: 68.44 kB / 0.8637 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.2447, allocations: 5.411 MB / 0.869 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.2451, allocations: 286.2 kB / 0.8693 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000701/0.2458, allocations: 148.5 kB / 0.8694 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/0.2463, allocations: 231.3 kB / 0.8696 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of SimCode: time 1.253e-06/0.2463, allocations: 0 / 0.8696 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05087/0.2971, allocations: 15.79 MB / 0.8851 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.39, allocations: 6.578 kB / 0.8851 GB, free: 2.207 MB / 0.6231 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimple_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimple.fmu > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.569202893879265] Failed to read output from testmodel.py, exit status != 0: 11.581107530742884 11.598061899 11.416349375 Calling exit ...