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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 190.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002542/0.002542, allocations: 283.7 kB / 306.5 MB, free: 8.355 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.213/1.213, allocations: 180.8 MB / 0.53 GB, free: 14.45 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00411/0.00411, allocations: 108.4 kB / 0.7308 GB, free: 38.85 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1773, allocations: 94.2 MB / 0.8228 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.005444/0.1827, allocations: 3.754 MB / 0.8265 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005518/0.1882, allocations: 3.564 MB / 0.83 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003128/0.1885, allocations: 15.88 kB / 0.83 GB, free: 10.5 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-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 2.0.0-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 2.0.0-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.0004736/0.189, allocations: 126.9 kB / 0.8301 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.1901, allocations: 457.5 kB / 0.8305 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007797/0.1908, allocations: 378.1 kB / 0.8309 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008372/0.1917, allocations: 0.7643 MB / 0.8316 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.1919, allocations: 134.5 kB / 0.8318 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.1924, allocations: 322.8 kB / 0.8321 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000506/0.1929, allocations: 330 kB / 0.8324 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.193, allocations: 68 kB / 0.8324 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009005/0.1939, allocations: 0.4917 MB / 0.8329 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.1941, allocations: 175.4 kB / 0.8331 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.1944, allocations: 318.4 kB / 0.8334 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.1958, allocations: 1.098 MB / 0.8345 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1958, allocations: 0 / 0.8345 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1958, allocations: 0 / 0.8345 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.1958, allocations: 0 / 0.8345 GB, free: 5.871 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.002107/0.1979, allocations: 0.942 MB / 0.8354 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.198, allocations: 16.03 kB / 0.8354 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003337/0.2013, allocations: 0.5663 MB / 0.836 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.2027, allocations: 0.5621 MB / 0.8365 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.2029, allocations: 122.7 kB / 0.8366 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.883e-05/0.203, allocations: 43.94 kB / 0.8367 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.2045, allocations: 0.6597 MB / 0.8373 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.2045, allocations: 4 kB / 0.8373 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.759e-05/0.2046, allocations: 20 kB / 0.8373 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.2046, allocations: 12 kB / 0.8373 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.2064, allocations: 0.6986 MB / 0.838 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003516/0.2099, allocations: 1.737 MB / 0.8397 GB, free: 356 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/0.2126, allocations: 0.7704 MB / 0.8405 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008515/0.2135, allocations: 309.9 kB / 0.8408 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/0.2147, allocations: 200.2 kB / 0.841 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009817/0.2156, allocations: 403.4 kB / 0.8413 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.275e-06/0.2156, allocations: 0 / 0.8413 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.002578/0.2182, allocations: 0.9241 MB / 0.8423 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.2183, allocations: 115.2 kB / 0.8424 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.2188, allocations: 415.2 kB / 0.8428 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-05/0.2189, allocations: 37.7 kB / 0.8428 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.2191, allocations: 289.1 kB / 0.8431 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.2193, allocations: 186.4 kB / 0.8432 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.2196, allocations: 118.2 kB / 0.8434 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.2197, allocations: 362.8 kB / 0.8437 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008009/0.2205, allocations: 273 kB / 0.844 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008998/0.2214, allocations: 417.4 kB / 0.8444 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.2231, allocations: 0.6506 MB / 0.845 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2231, allocations: 0 / 0.845 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001951/0.2251, allocations: 0.7664 MB / 0.8457 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2251, allocations: 8 kB / 0.8458 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2251, allocations: 4 kB / 0.8458 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.2251, allocations: 8.219 kB / 0.8458 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.2268, allocations: 239.7 kB / 0.846 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.2287, allocations: 1.494 MB / 0.8475 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006635/0.2293, allocations: 87.56 kB / 0.8475 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.2294, allocations: 27.97 kB / 0.8476 GB, free: 8.012 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.0003143/0.2297, allocations: 215 kB / 0.8478 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.2298, allocations: 55.62 kB / 0.8478 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/0.2326, allocations: 0.9291 MB / 0.8487 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.2326, allocations: 8 kB / 0.8487 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.2326, allocations: 0 / 0.8487 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.2326, allocations: 3.984 kB / 0.8487 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/0.2361, allocations: 1.593 MB / 0.8503 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.2361, allocations: 4 kB / 0.8503 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007679/0.2368, allocations: 143.8 kB / 0.8504 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004472/0.2373, allocations: 60.8 kB / 0.8505 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.2373, allocations: 19.98 kB / 0.8505 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.2392, allocations: 1.472 MB / 0.852 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2392, allocations: 8 kB / 0.852 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.2416, allocations: 0.8983 MB / 0.8528 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.2419, allocations: 135.3 kB / 0.853 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.242, allocations: 16 kB / 0.853 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.2426, allocations: 50.17 kB / 0.853 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.2427, allocations: 48.56 kB / 0.8531 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/0.2428, allocations: 27.97 kB / 0.8531 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003901/0.2432, allocations: 287.1 kB / 0.8534 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2432, allocations: 4 kB / 0.8534 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008116/0.244, allocations: 231.5 kB / 0.8536 GB, free: 1.609 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): 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.001764/0.2458, allocations: 0.5053 MB / 0.8541 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002717/0.2485, allocations: 0.7389 MB / 0.8548 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2485, allocations: 0 / 0.8548 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.2496, allocations: 482.5 kB / 0.8553 GB, free: 16 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.2501, allocations: 69.97 kB / 0.8553 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/0.2527, allocations: 1.224 MB / 0.8565 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.2533, allocations: 0.881 MB / 0.8574 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005856/0.2539, allocations: 156.4 kB / 0.8575 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.2541, allocations: 67.39 kB / 0.8576 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2541, allocations: 0 / 0.8576 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of Templates: time 0.01813/0.2723, allocations: 9.246 MB / 0.8666 GB, free: 4.375 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.3610475631430745] Failed to read output from testmodel.py, exit status != 0: 0.28092961572110653 0.295966327 0.09698570200000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f534fb7d7b0>