Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009389/0.0009389, 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.001054/0.001054, allocations: 169.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.8945/0.8945, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7196/0.7196, allocations: 154.5 MB / 413.7 MB, free: 0.8281 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.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.804e-05, allocations: 2.281 kB / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001887/0.001905, allocations: 1.406 MB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00213/0.004035, allocations: 2.394 MB / 0.6217 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.004064, allocations: 0 / 0.6217 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.005305, allocations: 0.5543 MB / 0.6223 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.171e-05/0.005347, allocations: 19.84 kB / 0.6223 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.217e-06/0.005351, allocations: 0 / 0.6223 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.00555, allocations: 174.8 kB / 0.6225 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.005597, allocations: 12.59 kB / 0.6225 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.047e-05/0.005677, allocations: 79.8 kB / 0.6226 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.00578, allocations: 67.83 kB / 0.6226 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.005792, allocations: 0 / 0.6226 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006184/0.00641, allocations: 407.4 kB / 0.623 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.006466, allocations: 43.77 kB / 0.6231 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.006553, allocations: 51.86 kB / 0.6231 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.007019, allocations: 454.1 kB / 0.6235 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.007021, allocations: 0 / 0.6235 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.263e-06/0.007023, allocations: 3.938 kB / 0.6235 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.007028, allocations: 0 / 0.6235 GB, free: 8.039 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.0005533/0.007581, allocations: 488.7 kB / 0.624 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.00762, allocations: 9.469 kB / 0.624 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.00766, allocations: 110 kB / 0.6241 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.007766, allocations: 108 kB / 0.6242 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.007947, allocations: 247.8 kB / 0.6245 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/0.00799, allocations: 158.9 kB / 0.6246 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.008032, allocations: 150.9 kB / 0.6248 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.973e-05/0.008092, allocations: 105.5 kB / 0.6249 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.008112, allocations: 79.45 kB / 0.6249 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.008151, allocations: 154.9 kB / 0.6251 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.008186, allocations: 154.7 kB / 0.6252 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.008226, allocations: 158.5 kB / 0.6254 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.008503, allocations: 0.5007 MB / 0.6259 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.116e-05/0.008564, allocations: 173.1 kB / 0.626 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.00859, allocations: 80.14 kB / 0.6261 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.008611, allocations: 75.28 kB / 0.6262 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.008647, allocations: 117.8 kB / 0.6263 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.008648, allocations: 0 / 0.6263 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001162/0.008764, allocations: 57.5 kB / 0.6263 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.008807, allocations: 130.6 kB / 0.6265 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.009115, allocations: 433.3 kB / 0.6269 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.009125, allocations: 25.7 kB / 0.6269 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.009184, allocations: 132.6 kB / 0.627 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.009186, allocations: 4 kB / 0.627 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.00925, allocations: 89.67 kB / 0.6271 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.527e-05/0.009335, allocations: 342.8 kB / 0.6274 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/0.009415, allocations: 92.61 kB / 0.6275 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.009521, allocations: 169.8 kB / 0.6277 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.009729, allocations: 301.6 kB / 0.628 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.009732, allocations: 4 kB / 0.628 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000345/0.01008, allocations: 329 kB / 0.6283 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.01009, allocations: 11.94 kB / 0.6283 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.0101, allocations: 3.984 kB / 0.6283 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.01011, allocations: 8.219 kB / 0.6283 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.454e-06/0.01011, allocations: 7.875 kB / 0.6283 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.01012, allocations: 4 kB / 0.6283 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.573e-05/0.01022, allocations: 43.56 kB / 0.6284 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.01023, allocations: 4 kB / 0.6284 GB, free: 2.828 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.0001735/0.0104, allocations: 242 kB / 0.6286 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.01045, allocations: 132.8 kB / 0.6287 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.01049, allocations: 110.9 kB / 0.6288 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.95e-05/0.01053, allocations: 180.2 kB / 0.629 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.344e-05/0.01057, allocations: 188.3 kB / 0.6292 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.586e-05/0.01061, allocations: 192.2 kB / 0.6294 GB, free: 1.762 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.01081, allocations: 436.2 kB / 0.6298 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.894e-05/0.01084, allocations: 105 kB / 0.6299 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.01086, allocations: 108.9 kB / 0.63 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.934e-05/0.01091, allocations: 184.2 kB / 0.6302 GB, free: 0.875 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.01097, allocations: 180.2 kB / 0.6303 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.346e-05/0.01101, allocations: 176.3 kB / 0.6305 GB, free: 0.5117 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.72e-05/0.01106, allocations: 188.1 kB / 0.6307 GB, free: 328 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.01119, allocations: 327.6 kB / 0.631 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.01125, allocations: 128.7 kB / 0.6311 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/0.01131, allocations: 180.3 kB / 0.6313 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.0114, allocations: 112.9 kB / 0.6314 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.01146, allocations: 184.2 kB / 0.6316 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.01148, allocations: 101 kB / 0.6317 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001992/0.01168, allocations: 279.1 kB / 0.632 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01168, allocations: 0 / 0.632 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000313/0.012, allocations: 87.88 kB / 0.632 GB, free: 14.89 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.0005267/0.01252, allocations: 0.9561 MB / 0.633 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001608/0.01268, allocations: 124.2 kB / 0.6331 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01269, allocations: 8.062 kB / 0.6331 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.01269, allocations: 3.938 kB / 0.6331 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.01298, allocations: 475.2 kB / 0.6336 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.01512, allocations: 2.949 MB / 0.6364 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.01522, allocations: 172.1 kB / 0.6366 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.112e-05/0.01524, allocations: 0 / 0.6366 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.0153, allocations: 56.48 kB / 0.6366 GB, free: 10 MB / 0.6042 GB Notification: Performance of SimCode: time 8.52e-07/0.0153, allocations: 0 / 0.6366 GB, free: 10 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.03552, allocations: 7.195 MB / 0.6437 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/6.935, allocations: 9.641 kB / 0.6437 GB, free: 2.977 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.587924817577004] Failed to read output from testmodel.py, exit status != 0: 7.022349995560944 7.037801288 7.028237448 Calling exit ...