Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.0009899/0.0009899, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0008347/0.0008347, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.9142/0.9142, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7112/0.7112, allocations: 154.6 MB / 413.7 MB, free: 0.7852 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.258e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001883/0.001906, allocations: 1.48 MB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003663/0.002272, allocations: 187.3 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.002313, allocations: 0 / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.002344, allocations: 3.938 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.002568, allocations: 23.84 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.002741, allocations: 51.86 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.578e-05/0.002837, allocations: 63.77 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.002934, allocations: 0 / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.735e-05/0.003011, allocations: 39.91 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.949e-05/0.00308, allocations: 15.98 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.003106, allocations: 4 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.003117, allocations: 4 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.003143, allocations: 19.91 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.003181, allocations: 15.98 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.003291, allocations: 55.8 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.003294, allocations: 0 / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.863e-06/0.003296, allocations: 0 / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.003301, allocations: 0 / 0.62 GB, free: 11.7 MB / 0.5886 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.0004875/0.003788, allocations: 274.3 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.003829, allocations: 16.03 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.989e-05/0.003859, allocations: 30.75 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.003888, allocations: 4.938 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.092e-05/0.003979, allocations: 117.7 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.00399, allocations: 384 / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.003999, allocations: 4.375 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.004138, allocations: 124.2 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.004145, allocations: 192 / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.004156, allocations: 8.375 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.004161, allocations: 4.125 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.402e-05/0.004205, allocations: 19.98 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.004506, allocations: 232 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.833e-05/0.004595, allocations: 42.5 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.004621, allocations: 16.8 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-06/0.00463, allocations: 0 / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.004791, allocations: 63.48 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.004793, allocations: 0 / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001828/0.004975, allocations: 77.75 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.005026, allocations: 110.8 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.257e-05/0.005089, allocations: 113.8 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.005102, allocations: 25.7 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.005138, allocations: 80.14 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.00516, allocations: 19.89 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.005191, allocations: 17.66 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000227/0.005418, allocations: 322.8 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.383e-05/0.005442, allocations: 8 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.864e-05/0.005501, allocations: 94.2 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.081e-05/0.005541, allocations: 24.86 kB / 0.6218 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.005544, allocations: 0 / 0.6218 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.173e-05/0.005615, allocations: 65.56 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.005629, allocations: 12.03 kB / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.005634, allocations: 0 / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.005645, allocations: 0 / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.74e-05/0.005712, allocations: 4 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.005717, allocations: 0 / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.005781, allocations: 11.98 kB / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.005788, allocations: 0 / 0.6219 GB, free: 9.539 MB / 0.5886 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.392e-05/0.005852, allocations: 118.8 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.005864, allocations: 11.89 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.005883, allocations: 3.688 kB / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.005886, allocations: 4 kB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.00589, allocations: 0 / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.005893, allocations: 0 / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.176e-05/0.005975, allocations: 136.7 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.005978, allocations: 4 kB / 0.6222 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.576e-05/0.005993, allocations: 7.922 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.005995, allocations: 0 / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.006002, allocations: 4 kB / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.006004, allocations: 0 / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006005, allocations: 0 / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.545e-05/0.0061, allocations: 89.06 kB / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.006132, allocations: 16.11 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.006149, allocations: 8 kB / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.006202, allocations: 7.984 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.006231, allocations: 7.984 kB / 0.6223 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.006241, allocations: 0 / 0.6223 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.144e-05/0.006272, allocations: 83.28 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006272, allocations: 0 / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001346/0.006407, allocations: 15.95 kB / 0.6224 GB, free: 8.957 MB / 0.5886 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0002675/0.006675, allocations: 0.6318 MB / 0.623 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.384e-05/0.006768, allocations: 31.92 kB / 0.623 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.00677, allocations: 0 / 0.623 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.807e-05/0.006798, allocations: 19.92 kB / 0.6231 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.006917, allocations: 8 kB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007629/0.00768, allocations: 1.175 MB / 0.6242 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.909e-05/0.007719, allocations: 67.34 kB / 0.6243 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.007751, allocations: 4.531 kB / 0.6243 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.007788, allocations: 20.48 kB / 0.6243 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of SimCode: time 4.31e-07/0.007789, allocations: 0 / 0.6243 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.02308, allocations: 2.466 MB / 0.6267 GB, free: 4.574 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/6.647, allocations: 4 kB / 0.6267 GB, free: 4.57 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --stepSize=31104 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.273400806821883] Failed to read output from testmodel.py, exit status != 0: 6.729942820966244 6.7397333680000004 6.734582314 Calling exit ...