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.002423/0.002423, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 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.002977/0.002977, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.558/1.558, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.00331/0.00331, allocations: 242 kB / 259.8 MB, free: 12.85 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 1.171/1.171, allocations: 138.4 MB / 454.7 MB, free: 1.504 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.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 2.324e-06/2.324e-06, allocations: 0 / 0.5543 GB, free: 0.918 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.452e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.01072/0.01076, allocations: 3.621 MB / 0.5578 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.02271, allocations: 3.615 MB / 0.5614 GB, free: 9.637 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005666/0.02327, allocations: 19.88 kB / 0.5614 GB, free: 9.617 MB / 490.7 MB [/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.0008674/0.02414, allocations: 126.8 kB / 0.5615 GB, free: 9.492 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002675/0.02682, allocations: 0.5164 MB / 0.562 GB, free: 8.973 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.02834, allocations: 359 kB / 0.5623 GB, free: 8.621 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.02996, allocations: 0.7836 MB / 0.5631 GB, free: 7.836 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004568/0.03041, allocations: 134.1 kB / 0.5632 GB, free: 7.703 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.03156, allocations: 458.9 kB / 0.5637 GB, free: 7.254 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007721/0.03233, allocations: 246.5 kB / 0.5639 GB, free: 7.016 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.03253, allocations: 68 kB / 0.564 GB, free: 6.949 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.03444, allocations: 0.5499 MB / 0.5645 GB, free: 6.398 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003482/0.03479, allocations: 175.3 kB / 0.5647 GB, free: 6.227 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.03526, allocations: 211.4 kB / 0.5649 GB, free: 6.02 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00308/0.03834, allocations: 1.246 MB / 0.5661 GB, free: 4.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.03835, allocations: 0 / 0.5661 GB, free: 4.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.03835, allocations: 0 / 0.5661 GB, free: 4.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.03836, allocations: 0 / 0.5661 GB, free: 4.77 MB / 490.7 MB 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.003855/0.04222, allocations: 1.123 MB / 0.5672 GB, free: 3.605 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.04227, allocations: 8.75 kB / 0.5672 GB, free: 3.598 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006297/0.04857, allocations: 0.5234 MB / 0.5677 GB, free: 3.074 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.05076, allocations: 0.5408 MB / 0.5682 GB, free: 2.504 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/0.05105, allocations: 195.8 kB / 0.5684 GB, free: 2.277 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.05121, allocations: 44.38 kB / 0.5685 GB, free: 2.234 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.05382, allocations: 0.7308 MB / 0.5692 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.05384, allocations: 0 / 0.5692 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.05395, allocations: 20 kB / 0.5692 GB, free: 1.445 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.05398, allocations: 12 kB / 0.5692 GB, free: 1.434 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003189/0.05717, allocations: 0.6205 MB / 0.5698 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006562/0.06373, allocations: 1.662 MB / 0.5714 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003943/0.06767, allocations: 0.6581 MB / 0.5721 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.06899, allocations: 285 kB / 0.5724 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001815/0.0708, allocations: 172.3 kB / 0.5725 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00183/0.07263, allocations: 375.7 kB / 0.5729 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 6.773e-06/0.07264, allocations: 3.984 kB / 0.5729 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.003394/0.07603, allocations: 0.8286 MB / 0.5737 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.07614, allocations: 115.2 kB / 0.5738 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008613/0.077, allocations: 0.5662 MB / 0.5744 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.545e-05/0.07708, allocations: 37.7 kB / 0.5744 GB, free: 12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003743/0.07745, allocations: 367.8 kB / 0.5747 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.07769, allocations: 198.4 kB / 0.5749 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.07798, allocations: 143.9 kB / 0.5751 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003935/0.07838, allocations: 0.5703 MB / 0.5756 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007931/0.07917, allocations: 229.2 kB / 0.5758 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.0802, allocations: 481 kB / 0.5763 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.08194, allocations: 0.6376 MB / 0.5769 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.08194, allocations: 0 / 0.5769 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002168/0.08411, allocations: 0.7121 MB / 0.5776 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.08414, allocations: 8 kB / 0.5776 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.08415, allocations: 4 kB / 0.5776 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.08417, allocations: 4 kB / 0.5776 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009113/0.08508, allocations: 163.7 kB / 0.5778 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.0851, allocations: 8 kB / 0.5778 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.08578, allocations: 83.61 kB / 0.5779 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/0.08585, allocations: 27.98 kB / 0.5779 GB, free: 8.219 MB / 0.4948 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.0003833/0.08624, allocations: 244.2 kB / 0.5781 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.08644, allocations: 71.67 kB / 0.5782 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.08869, allocations: 0.7527 MB / 0.5789 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.0887, allocations: 8 kB / 0.5789 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.0887, allocations: 3.938 kB / 0.579 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.08871, allocations: 7.984 kB / 0.579 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.09187, allocations: 1.393 MB / 0.5803 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.09187, allocations: 0 / 0.5803 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008001/0.09267, allocations: 127.8 kB / 0.5804 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.09268, allocations: 4 kB / 0.5804 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/0.09274, allocations: 15.98 kB / 0.5805 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.09275, allocations: 4 kB / 0.5805 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.09275, allocations: 0 / 0.5805 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.09476, allocations: 0.8237 MB / 0.5813 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003617/0.09512, allocations: 131.4 kB / 0.5814 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.09522, allocations: 16 kB / 0.5814 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005628/0.09578, allocations: 42.53 kB / 0.5815 GB, free: 4.508 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.09591, allocations: 40.58 kB / 0.5815 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/0.09597, allocations: 19.98 kB / 0.5815 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000506/0.09648, allocations: 363 kB / 0.5819 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.09648, allocations: 0 / 0.5819 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008738/0.09735, allocations: 251.3 kB / 0.5821 GB, free: 3.852 MB / 0.4948 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.003338/0.1007, allocations: 0.6119 MB / 0.5827 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00198/0.1027, allocations: 0.5997 MB / 0.5833 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1027, allocations: 0 / 0.5833 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008844/0.1036, allocations: 340.6 kB / 0.5836 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000619/0.1042, allocations: 93.64 kB / 0.5837 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.1066, allocations: 1.12 MB / 0.5848 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.107, allocations: 282.2 kB / 0.5851 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006803/0.1076, allocations: 148.4 kB / 0.5852 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.1079, allocations: 72.45 kB / 0.5853 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of SimCode: time 1.162e-06/0.1079, allocations: 4 kB / 0.5853 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of Templates: time 0.02061/0.1285, allocations: 9.263 MB / 0.5943 GB, free: 7.523 MB / 0.5105 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.619681884068996]