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.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.001288/0.001288, allocations: 101.8 kB / 16.45 MB, free: 6.445 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.001309/0.001309, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.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.002495/0.002495, allocations: 286.7 kB / 303 MB, free: 3.562 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.117/1.117, allocations: 180.9 MB / 0.5261 GB, free: 3.16 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 99.84 kB / 0.7247 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5331/0.5359, allocations: 94.16 MB / 0.8167 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.004445/0.5404, allocations: 3.76 MB / 0.8204 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004858/0.5452, allocations: 3.459 MB / 0.8237 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003755/0.5456, allocations: 11.94 kB / 0.8237 GB, free: 2.07 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.0005234/0.5461, allocations: 126.1 kB / 0.8239 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.5473, allocations: 463.5 kB / 0.8243 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008498/0.5482, allocations: 356.4 kB / 0.8246 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007638/0.5489, allocations: 0.7471 MB / 0.8254 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.5492, allocations: 138.9 kB / 0.8255 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00034/0.5495, allocations: 320.7 kB / 0.8258 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004528/0.55, allocations: 315.2 kB / 0.8261 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.88e-05/0.55, allocations: 70.44 kB / 0.8262 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007953/0.5508, allocations: 0.494 MB / 0.8267 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.551, allocations: 171.3 kB / 0.8268 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.5512, allocations: 322.4 kB / 0.8271 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.5525, allocations: 1.093 MB / 0.8282 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5525, allocations: 0.6562 kB / 0.8282 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5525, allocations: 0 / 0.8282 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.5525, allocations: 4 kB / 0.8282 GB, free: 15.87 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.002011/0.5545, allocations: 1.018 MB / 0.8292 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.5545, allocations: 10.5 kB / 0.8292 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.5547, allocations: 96.98 kB / 0.8293 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003734/0.5584, allocations: 0.6213 MB / 0.8299 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.56, allocations: 0.6292 MB / 0.8305 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.5601, allocations: 121.5 kB / 0.8306 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.289e-05/0.5602, allocations: 50.44 kB / 0.8307 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.5618, allocations: 0.6924 MB / 0.8314 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.5618, allocations: 0 / 0.8314 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.489e-05/0.5619, allocations: 15.22 kB / 0.8314 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.5619, allocations: 11.59 kB / 0.8314 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.564, allocations: 0.7603 MB / 0.8321 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/0.5678, allocations: 1.81 MB / 0.8339 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002812/0.5706, allocations: 0.8013 MB / 0.8347 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009192/0.5716, allocations: 332.8 kB / 0.835 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00207/0.5736, allocations: 1.768 MB / 0.8367 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/0.5748, allocations: 429.2 kB / 0.8371 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.695e-06/0.5748, allocations: 0 / 0.8371 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.003163/0.578, allocations: 1.007 MB / 0.8381 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/0.5781, allocations: 113.5 kB / 0.8382 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006085/0.5787, allocations: 436.6 kB / 0.8386 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.285e-05/0.5788, allocations: 36.45 kB / 0.8387 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.5791, allocations: 284.2 kB / 0.8389 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.5793, allocations: 183.5 kB / 0.8391 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.5796, allocations: 124.3 kB / 0.8392 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.5798, allocations: 358.5 kB / 0.8396 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.5808, allocations: 306.8 kB / 0.8399 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.582, allocations: 441.1 kB / 0.8403 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.584, allocations: 0.7007 MB / 0.841 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.584, allocations: 1.375 kB / 0.841 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002304/0.5863, allocations: 0.8229 MB / 0.8418 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5863, allocations: 11.31 kB / 0.8418 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5863, allocations: 5.109 kB / 0.8418 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.5863, allocations: 5.719 kB / 0.8418 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009158/0.5873, allocations: 172.4 kB / 0.842 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.5873, allocations: 15 kB / 0.842 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007463/0.588, allocations: 105.3 kB / 0.8421 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/0.5881, allocations: 30.25 kB / 0.8421 GB, free: 7.887 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): 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.0003533/0.5884, allocations: 206.2 kB / 0.8423 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.5886, allocations: 52.52 kB / 0.8424 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/0.591, allocations: 0.8981 MB / 0.8432 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.591, allocations: 6.625 kB / 0.8432 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.591, allocations: 4.5 kB / 0.8433 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.591, allocations: 2.906 kB / 0.8433 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/0.5943, allocations: 1.575 MB / 0.8448 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5943, allocations: 1.312 kB / 0.8448 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008251/0.5951, allocations: 145.3 kB / 0.8449 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.5951, allocations: 10.73 kB / 0.8449 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.5952, allocations: 17.78 kB / 0.845 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.5952, allocations: 6.797 kB / 0.845 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5952, allocations: 0 / 0.845 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.5972, allocations: 0.8532 MB / 0.8458 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.5976, allocations: 221.5 kB / 0.846 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.893e-05/0.5977, allocations: 11.92 kB / 0.846 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006208/0.5984, allocations: 60.83 kB / 0.8461 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.5985, allocations: 40.05 kB / 0.8461 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.5985, allocations: 22.44 kB / 0.8461 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004256/0.599, allocations: 302.9 kB / 0.8464 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.599, allocations: 0 / 0.8464 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008466/0.5998, allocations: 225.3 kB / 0.8466 GB, free: 5.707 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): 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.004097/0.6039, allocations: 1.802 MB / 0.8484 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.6059, allocations: 0.7034 MB / 0.8491 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.606, allocations: 0 / 0.8491 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000905/0.6069, allocations: 366.2 kB / 0.8494 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.6074, allocations: 71.28 kB / 0.8495 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.618, allocations: 5.359 MB / 0.8547 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.6186, allocations: 0.8781 MB / 0.8556 GB, free: 280 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006882/0.6193, allocations: 157.4 kB / 0.8557 GB, free: 192 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/0.6197, allocations: 224.6 kB / 0.856 GB, free: 12 kB / 0.5919 GB Notification: Performance of SimCode: time 6.82e-07/0.6197, allocations: 0 / 0.856 GB, free: 12 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04333/0.663, allocations: 14.32 MB / 0.8699 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.946/9.609, allocations: 5.359 kB / 0.8699 GB, free: 8.734 MB / 0.6075 GB " [Timeout remaining time 650] (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: 13.735314690042287] Failed to read output from testmodel.py, exit status != 0: 9.770899483002722 9.797012233 9.239754905 Calling exit ...