Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.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.0008226/0.0008226, 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.0009665/0.0009665, allocations: 165.9 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.8921/0.8921, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7155/0.7155, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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_low,fileNamePrefix="IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/2.011e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001816/0.001836, allocations: 1.401 MB / 0.6194 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.00347, allocations: 1.756 MB / 0.6212 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.003497, allocations: 0 / 0.6212 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008547/0.004351, allocations: 357.8 kB / 0.6215 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.004392, allocations: 15.91 kB / 0.6215 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.398e-06/0.004396, allocations: 0 / 0.6215 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.00458, allocations: 135 kB / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.004627, allocations: 13.67 kB / 0.6217 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.708e-05/0.004694, allocations: 63.81 kB / 0.6217 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.144e-05/0.004785, allocations: 47.89 kB / 0.6218 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.004801, allocations: 4 kB / 0.6218 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.005088, allocations: 179.8 kB / 0.6219 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.005138, allocations: 35.84 kB / 0.622 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.969e-05/0.005198, allocations: 43.92 kB / 0.622 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.005526, allocations: 302.8 kB / 0.6223 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005528, allocations: 0 / 0.6223 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.342e-06/0.00553, allocations: 0 / 0.6223 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.005534, allocations: 0 / 0.6223 GB, free: 9.355 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.0004842/0.006018, allocations: 413.2 kB / 0.6227 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.006061, allocations: 16.03 kB / 0.6227 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.006104, allocations: 114 kB / 0.6228 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.006211, allocations: 100.1 kB / 0.6229 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.006396, allocations: 232.4 kB / 0.6231 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/0.006441, allocations: 154.9 kB / 0.6233 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/0.00649, allocations: 154.9 kB / 0.6234 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.44e-05/0.006554, allocations: 117.4 kB / 0.6235 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.006586, allocations: 75.47 kB / 0.6236 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.006632, allocations: 158.5 kB / 0.6238 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/0.006672, allocations: 150.6 kB / 0.6239 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.75e-05/0.006719, allocations: 154.6 kB / 0.6241 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.007036, allocations: 484.9 kB / 0.6245 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.133e-05/0.007117, allocations: 169.1 kB / 0.6247 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/0.007148, allocations: 80.14 kB / 0.6248 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.007173, allocations: 75.28 kB / 0.6248 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.007221, allocations: 109.8 kB / 0.6249 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.007223, allocations: 0 / 0.6249 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001467/0.007369, allocations: 49.5 kB / 0.625 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.007434, allocations: 138.6 kB / 0.6251 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.007727, allocations: 321.6 kB / 0.6254 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.007741, allocations: 25.7 kB / 0.6254 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.007812, allocations: 128.5 kB / 0.6256 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/0.007815, allocations: 0 / 0.6256 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.007877, allocations: 61.69 kB / 0.6256 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.007984, allocations: 330.8 kB / 0.6259 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/0.008065, allocations: 59.95 kB / 0.626 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.008176, allocations: 122 kB / 0.6261 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.008357, allocations: 213.8 kB / 0.6263 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.00836, allocations: 0 / 0.6263 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003272/0.008687, allocations: 233.4 kB / 0.6265 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.008709, allocations: 8 kB / 0.6266 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.00872, allocations: 8.156 kB / 0.6266 GB, free: 4.754 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.008739, allocations: 4 kB / 0.6266 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/0.008741, allocations: 0 / 0.6266 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.008751, allocations: 7.938 kB / 0.6266 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.243e-05/0.008833, allocations: 27.72 kB / 0.6266 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.008841, allocations: 4 kB / 0.6266 GB, free: 4.711 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.0001723/0.009013, allocations: 222.1 kB / 0.6268 GB, free: 4.484 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.009062, allocations: 120.8 kB / 0.6269 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.009103, allocations: 125.5 kB / 0.627 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/0.009144, allocations: 188.3 kB / 0.6272 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-05/0.009186, allocations: 180.2 kB / 0.6274 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.149e-05/0.009228, allocations: 180.2 kB / 0.6276 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.009548, allocations: 420.3 kB / 0.628 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/0.009571, allocations: 104.9 kB / 0.6281 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.496e-05/0.009596, allocations: 101 kB / 0.6282 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.071e-05/0.009637, allocations: 184.2 kB / 0.6283 GB, free: 2.809 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.009682, allocations: 188.2 kB / 0.6285 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.668e-05/0.009718, allocations: 180.2 kB / 0.6287 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.042e-05/0.009759, allocations: 184.4 kB / 0.6289 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.866e-05/0.009858, allocations: 315.7 kB / 0.6292 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.009905, allocations: 132.8 kB / 0.6293 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.00996, allocations: 180.2 kB / 0.6295 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.01003, allocations: 108.9 kB / 0.6296 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.01008, allocations: 180.2 kB / 0.6297 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.0101, allocations: 108.9 kB / 0.6299 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001337/0.01024, allocations: 213.2 kB / 0.6301 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01024, allocations: 0 / 0.6301 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002434/0.01048, allocations: 71.86 kB / 0.6301 GB, free: 0.9023 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: 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.0004458/0.01093, allocations: 0.9166 MB / 0.631 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.01106, allocations: 83.83 kB / 0.6311 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01106, allocations: 0 / 0.6311 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.01106, allocations: 3.938 kB / 0.6311 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.01133, allocations: 466.2 kB / 0.6315 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.01297, allocations: 2.447 MB / 0.6339 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.952e-05/0.01305, allocations: 130.9 kB / 0.6341 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.189e-05/0.01306, allocations: 4.156 kB / 0.6341 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.01311, allocations: 40.48 kB / 0.6341 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/0.01311, allocations: 0 / 0.6341 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.03203, allocations: 5.573 MB / 0.6395 GB, free: 7.262 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.891/6.923, allocations: 4.062 kB / 0.6396 GB, free: 7.258 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low_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_low.fmu > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.623432853259146] Failed to read output from testmodel.py, exit status != 0: 7.003025270998478 7.012196011 7.004962511 Calling exit ...