Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.001876/0.001876, allocations: 102.7 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.002137/0.002137, 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.464/1.464, allocations: 225.6 MB / 247.8 MB, free: 3.719 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.185/1.185, allocations: 175.7 MB / 478.4 MB, free: 3.371 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.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003011/0.003011, allocations: 64.72 kB / 0.6652 GB, free: 11.13 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.2016, allocations: 94.54 MB / 0.7575 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002775/0.2044, allocations: 1.48 MB / 0.759 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008781/0.2053, allocations: 476.7 kB / 0.7594 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.2053, allocations: 3.938 kB / 0.7594 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.2053, allocations: 7.938 kB / 0.7595 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.2056, allocations: 23.86 kB / 0.7595 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 8.048e-05/0.2056, allocations: 19.91 kB / 0.7595 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.532e-05/0.2057, allocations: 51.84 kB / 0.7595 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.649e-05/0.2058, allocations: 4 kB / 0.7596 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.893e-05/0.2059, allocations: 27.86 kB / 0.7596 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.206, allocations: 23.91 kB / 0.7596 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.206, allocations: 4 kB / 0.7596 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.206, allocations: 4 kB / 0.7596 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.206, allocations: 7.984 kB / 0.7596 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.2061, allocations: 23.88 kB / 0.7596 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.2062, allocations: 47.8 kB / 0.7597 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2062, allocations: 0 / 0.7597 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2062, allocations: 0 / 0.7597 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.2062, allocations: 0 / 0.7597 GB, free: 15.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005748/0.2068, allocations: 355.3 kB / 0.76 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2068, allocations: 12.03 kB / 0.76 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.2069, allocations: 34.73 kB / 0.7601 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.2069, allocations: 4.938 kB / 0.7601 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.2071, allocations: 172.3 kB / 0.7602 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.2071, allocations: 4.375 kB / 0.7602 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.2071, allocations: 8.312 kB / 0.7602 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.2072, allocations: 57.8 kB / 0.7603 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2072, allocations: 4 kB / 0.7603 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.2072, allocations: 0 / 0.7603 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2072, allocations: 4 kB / 0.7603 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.776e-05/0.2073, allocations: 19.92 kB / 0.7603 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.2077, allocations: 272.8 kB / 0.7606 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.2078, allocations: 38.56 kB / 0.7606 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.508e-05/0.2078, allocations: 28.92 kB / 0.7607 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.2079, allocations: 4 kB / 0.7607 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.208, allocations: 63.39 kB / 0.7607 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.208, allocations: 0 / 0.7607 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.000221/0.2083, allocations: 85.56 kB / 0.7608 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.2083, allocations: 51.41 kB / 0.7608 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.2084, allocations: 113.8 kB / 0.761 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.2084, allocations: 25.7 kB / 0.761 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.2085, allocations: 92.14 kB / 0.7611 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.2085, allocations: 7.906 kB / 0.7611 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.2086, allocations: 21.7 kB / 0.7611 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2087, allocations: 322.8 kB / 0.7614 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.2087, allocations: 8 kB / 0.7614 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.889e-05/0.2088, allocations: 15.98 kB / 0.7614 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.929e-05/0.2088, allocations: 28.8 kB / 0.7615 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2088, allocations: 0 / 0.7615 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001187/0.209, allocations: 73.64 kB / 0.7615 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.209, allocations: 4 kB / 0.7615 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.209, allocations: 0 / 0.7615 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.209, allocations: 0 / 0.7615 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/0.2091, allocations: 12.42 kB / 0.7615 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2091, allocations: 0 / 0.7615 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.2091, allocations: 4 kB / 0.7615 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.2091, allocations: 4 kB / 0.7615 GB, free: 13.2 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: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.236e-05/0.2092, allocations: 121.7 kB / 0.7617 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.2092, allocations: 8 kB / 0.7617 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.2093, allocations: 11.95 kB / 0.7617 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2093, allocations: 0 / 0.7617 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2093, allocations: 0 / 0.7617 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2093, allocations: 0 / 0.7617 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.2094, allocations: 185.5 kB / 0.7619 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2094, allocations: 0 / 0.7619 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.2095, allocations: 7.938 kB / 0.7619 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2095, allocations: 3.938 kB / 0.7619 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.2095, allocations: 3.984 kB / 0.7619 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2095, allocations: 0 / 0.7619 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2095, allocations: 4 kB / 0.7619 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.2096, allocations: 93.06 kB / 0.762 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.2097, allocations: 89.05 kB / 0.7621 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2097, allocations: 0 / 0.7621 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.787e-05/0.2098, allocations: 4 kB / 0.7621 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.2098, allocations: 3.938 kB / 0.7621 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.2098, allocations: 11.98 kB / 0.7621 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.197e-05/0.2099, allocations: 91.28 kB / 0.7622 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2099, allocations: 0 / 0.7622 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001886/0.2101, allocations: 8 kB / 0.7622 GB, free: 12.46 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: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0004882/0.2106, allocations: 0.6281 MB / 0.7628 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.2107, allocations: 39.92 kB / 0.7628 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2107, allocations: 4 kB / 0.7628 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.417e-05/0.2107, allocations: 12.25 kB / 0.7628 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.2109, allocations: 7.984 kB / 0.7628 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.2121, allocations: 1.234 MB / 0.764 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.2125, allocations: 0.6846 MB / 0.7647 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.78e-05/0.2125, allocations: 4 kB / 0.7647 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.2125, allocations: 11.44 kB / 0.7647 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.2125, allocations: 0 / 0.7647 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.2366, allocations: 1.533 MB / 0.7662 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.29, allocations: 0 / 0.7662 GB, free: 8.305 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.314660964068025] Failed to read output from testmodel.py, exit status != 0: 8.359736654907465 8.381251438 8.170961818 Calling exit ...