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.0007576/0.0007576, 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.0007793/0.0007793, 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.897/0.897, 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.7234/0.7234, allocations: 154.6 MB / 413.7 MB, free: 0.8008 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.463e-06/1.463e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.167e-05, allocations: 3.094 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002116/0.002137, allocations: 1.415 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.003702, allocations: 1.752 MB / 0.6212 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.003734, allocations: 0 / 0.6212 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009014/0.004636, allocations: 365.3 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.549e-05/0.004681, allocations: 15.91 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.719e-06/0.004686, allocations: 4 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.004881, allocations: 131.1 kB / 0.6217 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.004929, allocations: 13.66 kB / 0.6217 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.98e-05/0.004998, allocations: 63.81 kB / 0.6217 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.005098, allocations: 55.89 kB / 0.6218 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.005116, allocations: 0 / 0.6218 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006119/0.005728, allocations: 175.8 kB / 0.622 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.005783, allocations: 35.89 kB / 0.622 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.753e-05/0.005851, allocations: 47.86 kB / 0.622 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.00618, allocations: 298.8 kB / 0.6223 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.006183, allocations: 0 / 0.6223 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.533e-06/0.006184, allocations: 0 / 0.6223 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.006189, allocations: 3.938 kB / 0.6223 GB, free: 9.301 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.0005081/0.006698, allocations: 421.2 kB / 0.6227 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.006735, allocations: 8.031 kB / 0.6227 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.006775, allocations: 106 kB / 0.6228 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.006875, allocations: 100.1 kB / 0.6229 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.007033, allocations: 232.4 kB / 0.6231 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.007071, allocations: 154.9 kB / 0.6233 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.007111, allocations: 154.9 kB / 0.6234 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.831e-05/0.007159, allocations: 109.4 kB / 0.6235 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.007178, allocations: 75.47 kB / 0.6236 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.007215, allocations: 162.5 kB / 0.6238 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.00725, allocations: 150.6 kB / 0.6239 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.315e-05/0.007293, allocations: 154.6 kB / 0.6241 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.007567, allocations: 484.8 kB / 0.6245 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.648e-05/0.007634, allocations: 169.1 kB / 0.6247 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.007662, allocations: 80.14 kB / 0.6248 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.007684, allocations: 79.28 kB / 0.6248 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.007718, allocations: 105.8 kB / 0.6249 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.007719, allocations: 0 / 0.6249 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001221/0.007841, allocations: 57.48 kB / 0.625 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.007888, allocations: 126.7 kB / 0.6251 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.008132, allocations: 333.5 kB / 0.6254 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.008142, allocations: 25.7 kB / 0.6255 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.008201, allocations: 116.5 kB / 0.6256 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.008203, allocations: 0 / 0.6256 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.008255, allocations: 61.69 kB / 0.6256 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.008347, allocations: 330.8 kB / 0.6259 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.008413, allocations: 63.95 kB / 0.626 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.148e-05/0.008504, allocations: 121.9 kB / 0.6261 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.008667, allocations: 209.8 kB / 0.6263 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.008669, allocations: 0 / 0.6263 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002736/0.008943, allocations: 237.4 kB / 0.6266 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.008956, allocations: 8 kB / 0.6266 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.008963, allocations: 3.938 kB / 0.6266 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.008976, allocations: 7.938 kB / 0.6266 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.008977, allocations: 0 / 0.6266 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.008983, allocations: 4 kB / 0.6266 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.00906, allocations: 27.73 kB / 0.6266 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.009067, allocations: 7.938 kB / 0.6266 GB, free: 4.668 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.0001592/0.009227, allocations: 226.1 kB / 0.6268 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.009273, allocations: 125.1 kB / 0.6269 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.009314, allocations: 125.4 kB / 0.6271 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.129e-05/0.009356, allocations: 184.3 kB / 0.6272 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.25e-05/0.009398, allocations: 176.3 kB / 0.6274 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.294e-05/0.009441, allocations: 188.2 kB / 0.6276 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.009612, allocations: 416.3 kB / 0.628 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.567e-05/0.009638, allocations: 108.9 kB / 0.6281 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.009664, allocations: 105 kB / 0.6282 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.014e-05/0.009704, allocations: 176.3 kB / 0.6284 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.009746, allocations: 184.1 kB / 0.6285 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.079e-05/0.009787, allocations: 192.2 kB / 0.6287 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000301/0.01009, allocations: 184.4 kB / 0.6289 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.826e-05/0.01019, allocations: 319.7 kB / 0.6292 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.01023, allocations: 120.8 kB / 0.6293 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.01033, allocations: 188.2 kB / 0.6295 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.01041, allocations: 108.9 kB / 0.6296 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.01046, allocations: 176.3 kB / 0.6298 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.01049, allocations: 108.9 kB / 0.6299 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001443/0.01063, allocations: 217.2 kB / 0.6301 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01063, allocations: 0 / 0.6301 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002555/0.01089, allocations: 67.88 kB / 0.6301 GB, free: 0.8516 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.000494/0.01138, allocations: 0.9141 MB / 0.631 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.01154, allocations: 83.83 kB / 0.6311 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01154, allocations: 448 / 0.6311 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.01154, allocations: 7.938 kB / 0.6311 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.01185, allocations: 462.1 kB / 0.6316 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.01368, allocations: 2.44 MB / 0.6339 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.67e-05/0.01376, allocations: 126.9 kB / 0.6341 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.402e-05/0.01377, allocations: 7.984 kB / 0.6341 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.01382, allocations: 40.48 kB / 0.6341 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/0.01382, allocations: 4 kB / 0.6341 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.03307, allocations: 5.562 MB / 0.6395 GB, free: 7.211 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.712/6.745, allocations: 11.36 kB / 0.6396 GB, free: 7.207 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.387895299121737] Failed to read output from testmodel.py, exit status != 0: 6.82781155128032 6.840064939 6.8321334479999996 Calling exit ...