Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.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.0007669/0.0007669, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007328/0.0007328, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.8397/0.8397, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.001374/0.001374, allocations: 237.3 kB / 260.2 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.6402/0.6402, allocations: 138.4 MB / 455.1 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: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.6475 GB, free: 28.84 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.786e-05, allocations: 2.281 kB / 0.6475 GB, free: 28.83 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.003085/0.003103, allocations: 3.549 MB / 0.6509 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003308/0.00641, allocations: 3.534 MB / 0.6544 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.006672, allocations: 13.97 kB / 0.6544 GB, free: 23.36 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.0003795/0.007051, allocations: 117.2 kB / 0.6545 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.008053, allocations: 0.5222 MB / 0.655 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.008602, allocations: 380.1 kB / 0.6554 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005354/0.009138, allocations: 0.8049 MB / 0.6562 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.009321, allocations: 126.7 kB / 0.6563 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00043/0.009751, allocations: 466.9 kB / 0.6568 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.01004, allocations: 274.5 kB / 0.657 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.343e-05/0.01012, allocations: 67.41 kB / 0.6571 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005968/0.01072, allocations: 0.5387 MB / 0.6576 GB, free: 21.29 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.01083, allocations: 179.6 kB / 0.6578 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.01098, allocations: 220 kB / 0.658 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009771/0.01196, allocations: 1.271 MB / 0.6592 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.01196, allocations: 0 / 0.6592 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.213e-06/0.01196, allocations: 0 / 0.6592 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.01197, allocations: 8.969 kB / 0.6592 GB, free: 20.11 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001213/0.01319, allocations: 0.9729 MB / 0.6602 GB, free: 19.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.01322, allocations: 10.84 kB / 0.6602 GB, free: 19.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.01507, allocations: 0.659 MB / 0.6608 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/0.01586, allocations: 0.5838 MB / 0.6614 GB, free: 18.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.486e-05/0.01595, allocations: 199 kB / 0.6616 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.01602, allocations: 48.06 kB / 0.6616 GB, free: 18.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008978/0.01692, allocations: 0.7975 MB / 0.6624 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.01693, allocations: 0 / 0.6624 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.01697, allocations: 20 kB / 0.6624 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.01698, allocations: 12 kB / 0.6625 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009653/0.01794, allocations: 0.7689 MB / 0.6632 GB, free: 16.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.01967, allocations: 1.678 MB / 0.6648 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.02102, allocations: 0.8297 MB / 0.6657 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/0.0215, allocations: 362.1 kB / 0.666 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004939/0.022, allocations: 188.3 kB / 0.6662 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005542/0.02255, allocations: 469.9 kB / 0.6666 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 1.814e-06/0.02255, allocations: 0 / 0.6666 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.003069/0.02562, allocations: 1.602 MB / 0.6682 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.02565, allocations: 119.3 kB / 0.6683 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.0259, allocations: 439.5 kB / 0.6687 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.02594, allocations: 33.7 kB / 0.6688 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.02603, allocations: 281.2 kB / 0.669 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.0261, allocations: 198.2 kB / 0.6692 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.02622, allocations: 126.2 kB / 0.6693 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.893e-05/0.02627, allocations: 370.7 kB / 0.6697 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/0.02669, allocations: 321.1 kB / 0.67 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.02716, allocations: 0.489 MB / 0.6705 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008813/0.02804, allocations: 0.7311 MB / 0.6712 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.02804, allocations: 0 / 0.6712 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001699/0.02974, allocations: 1.072 MB / 0.6722 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.02975, allocations: 8 kB / 0.6722 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.02976, allocations: 0 / 0.6722 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000353/0.03011, allocations: 144.9 kB / 0.6724 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.03048, allocations: 167.7 kB / 0.6725 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.03256, allocations: 1.97 MB / 0.6745 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.03287, allocations: 103.5 kB / 0.6746 GB, free: 5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.03291, allocations: 31.97 kB / 0.6746 GB, free: 4.969 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * 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: 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.03307, allocations: 211.3 kB / 0.6748 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.03313, allocations: 55.61 kB / 0.6748 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.0347, allocations: 1.105 MB / 0.6759 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.0347, allocations: 8 kB / 0.6759 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.03471, allocations: 0 / 0.6759 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.03471, allocations: 3.984 kB / 0.6759 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.03661, allocations: 1.628 MB / 0.6775 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.03661, allocations: 0 / 0.6775 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.03694, allocations: 151.8 kB / 0.6777 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002876/0.03723, allocations: 124.7 kB / 0.6778 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.03726, allocations: 19.98 kB / 0.6778 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.03886, allocations: 1.821 MB / 0.6796 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.03887, allocations: 0 / 0.6796 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.04045, allocations: 1.054 MB / 0.6806 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.04064, allocations: 143.3 kB / 0.6808 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.04069, allocations: 15.94 kB / 0.6808 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.04097, allocations: 67.92 kB / 0.6808 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/0.04106, allocations: 44.56 kB / 0.6809 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.0411, allocations: 27.92 kB / 0.6809 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002234/0.04132, allocations: 307.1 kB / 0.6812 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-08/0.04132, allocations: 0 / 0.6812 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000587/0.04191, allocations: 267.3 kB / 0.6814 GB, free: 13.75 MB / 0.5261 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 (69): * Single equations (assignments): 67 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000991/0.0429, allocations: 0.6083 MB / 0.682 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.04415, allocations: 0.8665 MB / 0.6829 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.04416, allocations: 3.938 kB / 0.6829 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007434/0.0449, allocations: 0.5491 MB / 0.6834 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.04522, allocations: 65.94 kB / 0.6835 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.04672, allocations: 1.291 MB / 0.6848 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.0469, allocations: 294.6 kB / 0.685 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.04711, allocations: 84.44 kB / 0.6851 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/0.04711, allocations: 0 / 0.6851 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.01077/0.05788, allocations: 13.9 MB / 0.6987 GB, free: 12.23 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.034049508161843] Failed to read output from testmodel.py, exit status != 0: 0.06242621969431639 0.070156091 0.056733267000000004 Calling exit ...