Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001072/0.001072, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.001109/0.001109, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8951/0.8951, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.001409/0.001409, allocations: 238 kB / 259.4 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.6782/0.6782, allocations: 138.4 MB / 454.3 MB, free: 1.633 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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 0.6463 GB, free: 29.1 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.287e-05, allocations: 6.281 kB / 0.6463 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002136/0.002159, allocations: 1.599 MB / 0.6479 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007321/0.002891, allocations: 0.5545 MB / 0.6484 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.002947, allocations: 1.125 kB / 0.6484 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.002977, allocations: 7.922 kB / 0.6484 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.003217, allocations: 43.8 kB / 0.6485 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.003377, allocations: 53.53 kB / 0.6485 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.003484, allocations: 116.9 kB / 0.6486 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.003592, allocations: 14.39 kB / 0.6486 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.003759, allocations: 62.66 kB / 0.6487 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.823e-05/0.003848, allocations: 48.22 kB / 0.6488 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.00387, allocations: 8.125 kB / 0.6488 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.761e-05/0.003917, allocations: 17.53 kB / 0.6488 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.003937, allocations: 22.91 kB / 0.6488 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.003981, allocations: 33.12 kB / 0.6488 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.004118, allocations: 109.6 kB / 0.6489 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.00412, allocations: 0.9688 kB / 0.6489 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.193e-06/0.004122, allocations: 0 / 0.6489 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.004125, allocations: 0 / 0.6489 GB, free: 27.07 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005323/0.004658, allocations: 330.9 kB / 0.6493 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.004702, allocations: 10.62 kB / 0.6493 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.004734, allocations: 40.92 kB / 0.6493 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.004849, allocations: 17.73 kB / 0.6493 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.129e-05/0.00494, allocations: 129.1 kB / 0.6494 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.004957, allocations: 7.75 kB / 0.6494 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.004972, allocations: 9.312 kB / 0.6495 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.005112, allocations: 83.66 kB / 0.6495 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.005119, allocations: 192 / 0.6495 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.005131, allocations: 5.188 kB / 0.6495 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.005137, allocations: 2 kB / 0.6495 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.155e-05/0.005229, allocations: 52.88 kB / 0.6496 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.0056, allocations: 305.8 kB / 0.6499 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.005836, allocations: 100.6 kB / 0.65 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.005891, allocations: 38.06 kB / 0.65 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.00591, allocations: 5.031 kB / 0.65 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.006101, allocations: 97.91 kB / 0.6501 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.006102, allocations: 0 / 0.6501 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.000268/0.00637, allocations: 142.3 kB / 0.6503 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.006397, allocations: 65.86 kB / 0.6503 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.006456, allocations: 123.5 kB / 0.6504 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.006464, allocations: 29.7 kB / 0.6505 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.469e-05/0.006489, allocations: 96.8 kB / 0.6506 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.006516, allocations: 36.17 kB / 0.6506 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.00655, allocations: 28.77 kB / 0.6506 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.911e-05/0.006579, allocations: 324.8 kB / 0.6509 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.00662, allocations: 26.58 kB / 0.651 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.896e-05/0.006659, allocations: 36.58 kB / 0.651 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.135e-05/0.00674, allocations: 57.11 kB / 0.651 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.006742, allocations: 1.375 kB / 0.651 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001187/0.006861, allocations: 110.8 kB / 0.6511 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.006874, allocations: 5.5 kB / 0.6512 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.006879, allocations: 7.938 kB / 0.6512 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.006892, allocations: 9.125 kB / 0.6512 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.006973, allocations: 17.75 kB / 0.6512 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.006983, allocations: 9.281 kB / 0.6512 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.736e-05/0.007041, allocations: 7.969 kB / 0.6512 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.007052, allocations: 2.719 kB / 0.6512 GB, free: 25.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.651e-05/0.007128, allocations: 127.9 kB / 0.6513 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.007145, allocations: 7.891 kB / 0.6513 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.007388, allocations: 143.2 kB / 0.6515 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.007393, allocations: 6.531 kB / 0.6515 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.007402, allocations: 0 / 0.6515 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.007408, allocations: 0 / 0.6515 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.007545, allocations: 180.5 kB / 0.6516 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.007547, allocations: 0 / 0.6516 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.007602, allocations: 16.94 kB / 0.6517 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.007606, allocations: 1.188 kB / 0.6517 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.007618, allocations: 9.672 kB / 0.6517 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.007621, allocations: 5.812 kB / 0.6517 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007622, allocations: 0 / 0.6517 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.007797, allocations: 164.3 kB / 0.6518 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.007817, allocations: 16.27 kB / 0.6519 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.007835, allocations: 5.219 kB / 0.6519 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.926e-05/0.007884, allocations: 8.266 kB / 0.6519 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.007923, allocations: 16.72 kB / 0.6519 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.007938, allocations: 4.219 kB / 0.6519 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.074e-05/0.007968, allocations: 98.73 kB / 0.652 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007968, allocations: 0 / 0.652 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001462/0.008115, allocations: 19.41 kB / 0.652 GB, free: 24.37 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002829/0.008397, allocations: 0.7026 MB / 0.6527 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.00855, allocations: 82.67 kB / 0.6528 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.008552, allocations: 1.125 kB / 0.6528 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.601e-05/0.008618, allocations: 41.98 kB / 0.6528 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.008761, allocations: 10.31 kB / 0.6528 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.009833, allocations: 1.468 MB / 0.6542 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.263e-05/0.009885, allocations: 79.59 kB / 0.6543 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.242e-05/0.009938, allocations: 18.94 kB / 0.6543 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.01001, allocations: 34.52 kB / 0.6544 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.132e-06/0.01001, allocations: 0 / 0.6544 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.02593, allocations: 3.001 MB / 0.6573 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.913/6.939, allocations: 4.562 kB / 0.6573 GB, free: 20.44 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.72261915449053] Failed to read output from testmodel.py, exit status != 0: 7.02130083553493 7.032958804 7.026944297 Calling exit ...