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.001316/0.001316, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001491/0.001491, allocations: 167 kB / 22.46 MB, free: 5.359 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.421/1.421, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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.002416/0.002416, allocations: 226 kB / 259.4 MB, free: 496 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 1.078/1.078, allocations: 138.4 MB / 454.3 MB, free: 2.027 MB / 366.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.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6467 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.943e-05, allocations: 6.281 kB / 0.6467 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.005587/0.005616, allocations: 3.509 MB / 0.6502 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2652/0.2708, allocations: 3.485 MB / 0.6536 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003313/0.2711, allocations: 13.38 kB / 0.6536 GB, free: 53.2 MB / 0.5606 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.0005152/0.2716, allocations: 131.2 kB / 0.6537 GB, free: 53.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.2728, allocations: 0.5115 MB / 0.6542 GB, free: 53.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007209/0.2735, allocations: 354.8 kB / 0.6546 GB, free: 52.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005828/0.2741, allocations: 0.7799 MB / 0.6553 GB, free: 52.83 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.2743, allocations: 129.3 kB / 0.6554 GB, free: 52.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005126/0.2748, allocations: 456 kB / 0.6559 GB, free: 52.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.2752, allocations: 259.7 kB / 0.6561 GB, free: 52.74 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.091e-05/0.2753, allocations: 65.47 kB / 0.6562 GB, free: 52.74 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008079/0.2761, allocations: 0.5422 MB / 0.6567 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.2763, allocations: 173.3 kB / 0.6569 GB, free: 52.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.2765, allocations: 220.7 kB / 0.6571 GB, free: 52.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.2776, allocations: 1.244 MB / 0.6583 GB, free: 52.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2776, allocations: 0 / 0.6583 GB, free: 52.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2776, allocations: 0 / 0.6583 GB, free: 52.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.2776, allocations: 1.531 kB / 0.6583 GB, free: 52.16 MB / 0.5606 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.001698/0.2793, allocations: 0.9632 MB / 0.6592 GB, free: 51.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2794, allocations: 11 kB / 0.6593 GB, free: 51.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003901/0.2833, allocations: 0.6451 MB / 0.6599 GB, free: 51.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.2846, allocations: 0.5774 MB / 0.6604 GB, free: 51.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.2847, allocations: 202.2 kB / 0.6606 GB, free: 50.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.821e-05/0.2848, allocations: 44.34 kB / 0.6607 GB, free: 50.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.2863, allocations: 0.7719 MB / 0.6614 GB, free: 50.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.2863, allocations: 3.938 kB / 0.6614 GB, free: 50.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.709e-05/0.2863, allocations: 19.28 kB / 0.6615 GB, free: 50.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.2863, allocations: 13.19 kB / 0.6615 GB, free: 50.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.2882, allocations: 0.7502 MB / 0.6622 GB, free: 50.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/0.2914, allocations: 1.562 MB / 0.6637 GB, free: 49.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002781/0.2941, allocations: 0.8085 MB / 0.6645 GB, free: 49.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009087/0.295, allocations: 331.9 kB / 0.6648 GB, free: 49.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.2961, allocations: 201.6 kB / 0.665 GB, free: 49.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009941/0.2971, allocations: 430.3 kB / 0.6654 GB, free: 48.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=53): time 2.946e-06/0.2971, allocations: 0 / 0.6654 GB, free: 48.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53): time 0.002861/0.3, allocations: 1.014 MB / 0.6664 GB, free: 48.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.3, allocations: 110.1 kB / 0.6665 GB, free: 48.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.3005, allocations: 444 kB / 0.667 GB, free: 48.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/0.3006, allocations: 36.58 kB / 0.667 GB, free: 48.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.3007, allocations: 289.3 kB / 0.6673 GB, free: 47.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.3008, allocations: 188.1 kB / 0.6674 GB, free: 47.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.301, allocations: 118.9 kB / 0.6676 GB, free: 47.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.503e-05/0.3011, allocations: 365.8 kB / 0.6679 GB, free: 47.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008782/0.302, allocations: 304.5 kB / 0.6682 GB, free: 47.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009672/0.303, allocations: 492.2 kB / 0.6687 GB, free: 47.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/0.3047, allocations: 0.6952 MB / 0.6693 GB, free: 46.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3047, allocations: 2.625 kB / 0.6693 GB, free: 46.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002372/0.3071, allocations: 0.8212 MB / 0.6702 GB, free: 46.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.3071, allocations: 6.75 kB / 0.6702 GB, free: 46.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.3072, allocations: 8.375 kB / 0.6702 GB, free: 46.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/0.3072, allocations: 5.75 kB / 0.6702 GB, free: 46.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00099/0.3082, allocations: 171.5 kB / 0.6703 GB, free: 46.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.3082, allocations: 10.31 kB / 0.6703 GB, free: 46.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007549/0.3089, allocations: 102.7 kB / 0.6704 GB, free: 46.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.309, allocations: 31.39 kB / 0.6705 GB, free: 46.31 MB / 0.5606 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.0003016/0.3093, allocations: 208.5 kB / 0.6707 GB, free: 46.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3094, allocations: 52.39 kB / 0.6707 GB, free: 46.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/0.3117, allocations: 0.8974 MB / 0.6716 GB, free: 45.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.3117, allocations: 7.688 kB / 0.6716 GB, free: 45.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3117, allocations: 4 kB / 0.6716 GB, free: 45.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.3117, allocations: 4.219 kB / 0.6716 GB, free: 45.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.3143, allocations: 1.403 MB / 0.673 GB, free: 45.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3144, allocations: 0 / 0.673 GB, free: 45.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/0.3151, allocations: 152.4 kB / 0.6731 GB, free: 45.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3152, allocations: 3.156 kB / 0.6731 GB, free: 45.08 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.3152, allocations: 19.47 kB / 0.6731 GB, free: 45.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.3152, allocations: 6.531 kB / 0.6732 GB, free: 45.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3152, allocations: 0.6562 kB / 0.6732 GB, free: 45.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.3171, allocations: 0.869 MB / 0.674 GB, free: 44.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.3173, allocations: 130.4 kB / 0.6741 GB, free: 44.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.63e-05/0.3174, allocations: 19.92 kB / 0.6741 GB, free: 44.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/0.318, allocations: 58.06 kB / 0.6742 GB, free: 44.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.3181, allocations: 41.7 kB / 0.6742 GB, free: 44.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.016e-05/0.3182, allocations: 22.73 kB / 0.6743 GB, free: 44.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002989/0.3185, allocations: 305.1 kB / 0.6746 GB, free: 44.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.3185, allocations: 0 / 0.6746 GB, free: 44.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000843/0.3193, allocations: 253.3 kB / 0.6748 GB, free: 44.34 MB / 0.5606 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.001925/0.3213, allocations: 0.6062 MB / 0.6754 GB, free: 44.13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.3233, allocations: 0.7008 MB / 0.6761 GB, free: 43.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3233, allocations: 1.156 kB / 0.6761 GB, free: 43.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009314/0.3242, allocations: 369.4 kB / 0.6764 GB, free: 43.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.3248, allocations: 68.41 kB / 0.6765 GB, free: 43.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.327, allocations: 1.19 MB / 0.6777 GB, free: 43.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.3272, allocations: 280.1 kB / 0.6779 GB, free: 43.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006046/0.3278, allocations: 157.8 kB / 0.6781 GB, free: 42.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.3281, allocations: 76.2 kB / 0.6781 GB, free: 42.96 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.3281, allocations: 0 / 0.6781 GB, free: 42.96 MB / 0.5606 GB Notification: Performance of Templates: time 0.01762/0.3457, allocations: 9.106 MB / 0.687 GB, free: 41.89 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.252164661884308] Failed to read output from testmodel.py, exit status != 0: 0.35413243249058723 0.365175479 0.08487246000000001 Calling exit ...