Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.00129/0.00129, allocations: 105.6 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.001328/0.001328, allocations: 187.7 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.553/1.553, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.085/1.085, allocations: 175.7 MB / 478.4 MB, free: 3.391 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 69.53 kB / 0.6652 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.2012, allocations: 94.54 MB / 0.7575 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003017/0.2042, allocations: 1.614 MB / 0.7591 GB, free: 52 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2053, allocations: 0.5415 MB / 0.7596 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.2054, allocations: 0 / 0.7596 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.2054, allocations: 3.938 kB / 0.7596 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.2057, allocations: 47.7 kB / 0.7597 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.2058, allocations: 51.88 kB / 0.7597 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.206, allocations: 107.6 kB / 0.7598 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.2061, allocations: 23.95 kB / 0.7599 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.2062, allocations: 43.86 kB / 0.7599 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.2064, allocations: 51.81 kB / 0.76 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.2064, allocations: 8 kB / 0.76 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.876e-05/0.2064, allocations: 8 kB / 0.76 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.2065, allocations: 23.91 kB / 0.76 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.77e-05/0.2065, allocations: 43.73 kB / 0.76 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.2067, allocations: 95.66 kB / 0.7601 GB, free: 15 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2067, allocations: 4 kB / 0.7601 GB, free: 15 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2067, allocations: 0 / 0.7601 GB, free: 15 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2067, allocations: 0 / 0.7601 GB, free: 15 MB / 0.5762 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.0007994/0.2075, allocations: 408.8 kB / 0.7605 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2075, allocations: 8.031 kB / 0.7605 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.2076, allocations: 38.75 kB / 0.7606 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.2076, allocations: 12.89 kB / 0.7606 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.2078, allocations: 180.2 kB / 0.7607 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.2078, allocations: 12.31 kB / 0.7608 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.2079, allocations: 4.375 kB / 0.7608 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.2081, allocations: 91.39 kB / 0.7609 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2081, allocations: 0 / 0.7609 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.2081, allocations: 8 kB / 0.7609 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2081, allocations: 0 / 0.7609 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.2083, allocations: 43.97 kB / 0.7609 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.2088, allocations: 344.7 kB / 0.7612 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.2091, allocations: 102.6 kB / 0.7613 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/0.2092, allocations: 40.84 kB / 0.7614 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.2093, allocations: 3.938 kB / 0.7614 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.2095, allocations: 103.3 kB / 0.7615 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.2095, allocations: 0 / 0.7615 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0004203/0.21, allocations: 145.5 kB / 0.7616 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.21, allocations: 59.34 kB / 0.7617 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2101, allocations: 125.8 kB / 0.7618 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.2101, allocations: 25.7 kB / 0.7618 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.2102, allocations: 100.4 kB / 0.7619 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.2103, allocations: 35.73 kB / 0.7619 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.2103, allocations: 25.72 kB / 0.762 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2105, allocations: 322.8 kB / 0.7623 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.082e-05/0.2105, allocations: 27.98 kB / 0.7623 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.2106, allocations: 27.98 kB / 0.7623 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.2107, allocations: 68.59 kB / 0.7624 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2107, allocations: 0 / 0.7624 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000192/0.2109, allocations: 109.6 kB / 0.7625 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2109, allocations: 8 kB / 0.7625 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2109, allocations: 3.938 kB / 0.7625 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2109, allocations: 4 kB / 0.7625 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.211, allocations: 15.98 kB / 0.7625 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.211, allocations: 4 kB / 0.7625 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2112, allocations: 19.81 kB / 0.7625 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.2112, allocations: 8 kB / 0.7626 GB, free: 12.28 MB / 0.5762 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 9.55e-05/0.2113, allocations: 113.8 kB / 0.7627 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.2113, allocations: 7.953 kB / 0.7627 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.2116, allocations: 146 kB / 0.7628 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2116, allocations: 3.984 kB / 0.7628 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2116, allocations: 0 / 0.7628 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2116, allocations: 7.938 kB / 0.7628 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.2118, allocations: 213.5 kB / 0.763 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2118, allocations: 4 kB / 0.763 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.2119, allocations: 20 kB / 0.763 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2119, allocations: 0 / 0.763 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.2119, allocations: 3.984 kB / 0.7631 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2119, allocations: 0 / 0.7631 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2119, allocations: 4 kB / 0.7631 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.2122, allocations: 172.8 kB / 0.7632 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.2122, allocations: 81.06 kB / 0.7633 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.2123, allocations: 11.98 kB / 0.7633 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.2124, allocations: 4 kB / 0.7633 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.2124, allocations: 15.92 kB / 0.7633 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.2124, allocations: 7.984 kB / 0.7633 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.367e-05/0.2125, allocations: 100.1 kB / 0.7634 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2125, allocations: 4 kB / 0.7634 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00021/0.2127, allocations: 24 kB / 0.7635 GB, free: 11.25 MB / 0.5762 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.0006346/0.2133, allocations: 0.6931 MB / 0.7641 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.2135, allocations: 83.91 kB / 0.7642 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.2136, allocations: 4 kB / 0.7642 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.2137, allocations: 47.97 kB / 0.7643 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.2138, allocations: 8.266 kB / 0.7643 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.2155, allocations: 1.466 MB / 0.7657 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.2158, allocations: 0.7045 MB / 0.7664 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.268e-05/0.2159, allocations: 12.55 kB / 0.7664 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.216, allocations: 35.36 kB / 0.7664 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.216, allocations: 0 / 0.7664 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.2407, allocations: 2.316 MB / 0.7687 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.368, allocations: 0 / 0.7687 GB, free: 5.867 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.347687549889088] Failed to read output from testmodel.py, exit status != 0: 8.437211189884692 8.451407844 8.241725051 Calling exit ...