Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.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.0007969/0.0007969, 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.0008405/0.0008405, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8845/0.8845, 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.7052/0.7052, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.625e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001773/0.001789, allocations: 1.414 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.003723, allocations: 2.386 MB / 0.6218 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.003752, allocations: 0 / 0.6218 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.004828, allocations: 0.5506 MB / 0.6223 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.721e-05/0.004866, allocations: 19.84 kB / 0.6224 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.857e-06/0.00487, allocations: 7.938 kB / 0.6224 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.005052, allocations: 166.8 kB / 0.6225 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.005094, allocations: 20.58 kB / 0.6225 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.005169, allocations: 87.72 kB / 0.6226 GB, free: 9 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.375e-05/0.005262, allocations: 63.83 kB / 0.6227 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.005275, allocations: 4 kB / 0.6227 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.005824, allocations: 407.4 kB / 0.6231 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.005869, allocations: 31.86 kB / 0.6231 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.387e-05/0.005933, allocations: 55.8 kB / 0.6232 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.00632, allocations: 458.1 kB / 0.6236 GB, free: 8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.006322, allocations: 0 / 0.6236 GB, free: 8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.002e-06/0.006323, allocations: 0 / 0.6236 GB, free: 8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.006327, allocations: 0 / 0.6236 GB, free: 8 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000495/0.006822, allocations: 492.7 kB / 0.6241 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.006857, allocations: 8.031 kB / 0.6241 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.006894, allocations: 106 kB / 0.6242 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.576e-05/0.00699, allocations: 104 kB / 0.6243 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.007144, allocations: 251.8 kB / 0.6245 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.007181, allocations: 154.9 kB / 0.6247 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.007221, allocations: 158.9 kB / 0.6248 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.464e-05/0.007266, allocations: 101.5 kB / 0.6249 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.007286, allocations: 79.41 kB / 0.625 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.007323, allocations: 150.9 kB / 0.6251 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.007358, allocations: 162.7 kB / 0.6253 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.312e-05/0.007392, allocations: 158.5 kB / 0.6254 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.007639, allocations: 0.5007 MB / 0.6259 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.772e-05/0.007697, allocations: 165.1 kB / 0.6261 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.00772, allocations: 88.02 kB / 0.6262 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.007739, allocations: 75.28 kB / 0.6262 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.007769, allocations: 109.8 kB / 0.6263 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 5.72e-07/0.007769, allocations: 0 / 0.6263 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001054/0.007875, allocations: 61.5 kB / 0.6264 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.007917, allocations: 130.6 kB / 0.6265 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.008206, allocations: 441.3 kB / 0.627 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.008215, allocations: 29.64 kB / 0.627 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.008278, allocations: 128.6 kB / 0.6271 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.00828, allocations: 0 / 0.6271 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.00834, allocations: 89.66 kB / 0.6272 GB, free: 4.137 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.008427, allocations: 342.8 kB / 0.6275 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.008503, allocations: 96.59 kB / 0.6276 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.008609, allocations: 161.9 kB / 0.6278 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.008813, allocations: 305.6 kB / 0.6281 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008815, allocations: 4 kB / 0.6281 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000322/0.009137, allocations: 329.2 kB / 0.6284 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.009149, allocations: 12.03 kB / 0.6284 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.009155, allocations: 0 / 0.6284 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.009167, allocations: 4 kB / 0.6284 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-06/0.009169, allocations: 3.938 kB / 0.6284 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.009175, allocations: 7.938 kB / 0.6284 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.743e-05/0.009262, allocations: 39.56 kB / 0.6284 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.009272, allocations: 15.92 kB / 0.6284 GB, free: 2.785 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 0.0001407/0.009413, allocations: 238 kB / 0.6287 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.009458, allocations: 128.8 kB / 0.6288 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.009492, allocations: 118.8 kB / 0.6289 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-05/0.009529, allocations: 180.2 kB / 0.6291 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.29e-05/0.009572, allocations: 184.3 kB / 0.6293 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.97e-05/0.009612, allocations: 184.2 kB / 0.6294 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.009792, allocations: 440.2 kB / 0.6299 GB, free: 1.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.526e-05/0.009817, allocations: 113 kB / 0.63 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.426e-05/0.009842, allocations: 109 kB / 0.6301 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.743e-05/0.009879, allocations: 184.2 kB / 0.6302 GB, free: 0.832 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.009918, allocations: 180.2 kB / 0.6304 GB, free: 0.6484 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.865e-05/0.009956, allocations: 180.3 kB / 0.6306 GB, free: 476 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.962e-05/0.009996, allocations: 188.1 kB / 0.6308 GB, free: 280 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.0101, allocations: 331.6 kB / 0.6311 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.01014, allocations: 124.8 kB / 0.6312 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.0102, allocations: 180.2 kB / 0.6314 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.01027, allocations: 104.9 kB / 0.6315 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.01032, allocations: 184.2 kB / 0.6316 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.01034, allocations: 104.9 kB / 0.6317 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001729/0.01051, allocations: 283.1 kB / 0.632 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01051, allocations: 0 / 0.632 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002395/0.01075, allocations: 87.86 kB / 0.6321 GB, free: 14.84 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004216/0.01117, allocations: 0.9451 MB / 0.633 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.01131, allocations: 131.8 kB / 0.6332 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01131, allocations: 0 / 0.6332 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.01131, allocations: 3.938 kB / 0.6332 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.01157, allocations: 471.2 kB / 0.6336 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.01353, allocations: 2.949 MB / 0.6365 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.971e-05/0.01362, allocations: 172.6 kB / 0.6366 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.518e-06/0.01363, allocations: 0 / 0.6366 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.01369, allocations: 60.47 kB / 0.6367 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/0.01369, allocations: 0 / 0.6367 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.03097, allocations: 7.189 MB / 0.6437 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/6.919, allocations: 11.14 kB / 0.6437 GB, free: 2.957 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.618444417603314] Failed to read output from testmodel.py, exit status != 0: 7.003147571347654 7.011985014 7.003985805 Calling exit ...