Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007645/0.0007645, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007845/0.0007845, 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.8717/0.8717, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7076/0.7076, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.804e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003276/0.003304, allocations: 1.478 MB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004887/0.003793, allocations: 191.2 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.003851, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.003886, allocations: 7.938 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.004145, allocations: 11.92 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.004379, allocations: 67.03 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.004503, allocations: 59.78 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.004606, allocations: 0 / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.004698, allocations: 43.89 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.004849, allocations: 11.98 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.004892, allocations: 4 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.721e-05/0.004909, allocations: 4 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.004942, allocations: 11.98 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.999e-05/0.005002, allocations: 23.92 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.005135, allocations: 55.84 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.005138, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005139, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.005143, allocations: 0 / 0.62 GB, free: 11.73 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.0004362/0.00558, allocations: 276.7 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.005619, allocations: 13.47 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.005649, allocations: 30.75 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.00568, allocations: 4.938 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.481e-05/0.005775, allocations: 113.8 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.005789, allocations: 4.375 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.0058, allocations: 12.3 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.005944, allocations: 124.2 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.005951, allocations: 192 / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.005962, allocations: 4.375 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.005967, allocations: 4.125 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.671e-05/0.006014, allocations: 19.98 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.006326, allocations: 235.9 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.173e-05/0.006408, allocations: 34.56 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.006436, allocations: 24.8 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.006445, allocations: 0 / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.006619, allocations: 63.48 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.00662, allocations: 0 / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001836/0.006803, allocations: 81.5 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.006853, allocations: 106.8 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.708e-05/0.00692, allocations: 105.8 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.006935, allocations: 29.7 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.006973, allocations: 80.14 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.006992, allocations: 11.91 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.007026, allocations: 25.7 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/0.007099, allocations: 318.8 kB / 0.6216 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.007121, allocations: 11.98 kB / 0.6216 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.244e-05/0.007173, allocations: 82.36 kB / 0.6217 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.007218, allocations: 36.78 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.00722, allocations: 0 / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.233e-05/0.007293, allocations: 61.62 kB / 0.6218 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.007306, allocations: 9.875 kB / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.00731, allocations: 0 / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.007322, allocations: 0 / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.007392, allocations: 4 kB / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.007396, allocations: 4.031 kB / 0.6218 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.007459, allocations: 11.98 kB / 0.6218 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.007465, allocations: 0 / 0.6218 GB, free: 9.57 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.314e-05/0.007528, allocations: 114.8 kB / 0.6219 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.00754, allocations: 11.89 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.957e-05/0.007559, allocations: 11.61 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.007562, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.007566, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007569, allocations: 3.938 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.862e-05/0.007658, allocations: 140.7 kB / 0.6221 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.00766, allocations: 4 kB / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.606e-05/0.007676, allocations: 0 / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007678, allocations: 0 / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.007686, allocations: 4 kB / 0.6221 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.007688, allocations: 0 / 0.6221 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.007689, allocations: 0 / 0.6221 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.822e-05/0.007787, allocations: 97.22 kB / 0.6222 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.007817, allocations: 11.92 kB / 0.6222 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.007831, allocations: 0 / 0.6222 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.097e-05/0.007882, allocations: 7.984 kB / 0.6222 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.007914, allocations: 12.06 kB / 0.6222 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.007927, allocations: 7.984 kB / 0.6222 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.13e-05/0.007958, allocations: 83.28 kB / 0.6223 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007958, allocations: 0 / 0.6223 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001274/0.008086, allocations: 19.89 kB / 0.6223 GB, free: 8.973 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.0002808/0.008367, allocations: 0.6241 MB / 0.623 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.008475, allocations: 27.98 kB / 0.623 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.008477, allocations: 3.938 kB / 0.623 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.763e-05/0.008504, allocations: 12 kB / 0.623 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.008631, allocations: 11.98 kB / 0.623 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.009709, allocations: 1.173 MB / 0.6242 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.885e-05/0.009748, allocations: 63.34 kB / 0.6242 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.8e-05/0.009786, allocations: 7.984 kB / 0.6242 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.009824, allocations: 16.5 kB / 0.6242 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of SimCode: time 6.81e-07/0.009825, allocations: 0 / 0.6242 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.02747, allocations: 2.482 MB / 0.6267 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.235/7.262, allocations: 0 / 0.6267 GB, free: 4.598 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.004710390232503] Failed to read output from testmodel.py, exit status != 0: 7.343035927042365 7.351391899 7.344254422 Calling exit ...