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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 105.5 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.076/1.076, allocations: 173.4 MB / 470.7 MB, free: 13.61 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002016/0.002017, allocations: 72.06 kB / 0.6478 GB, free: 11.75 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1952, allocations: 89.52 MB / 0.7352 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002857/0.1981, allocations: 1.414 MB / 0.7366 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004409/0.2025, allocations: 2.662 MB / 0.7392 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.2027, allocations: 0 / 0.7392 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.205, allocations: 0.5938 MB / 0.7398 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.276e-05/0.2051, allocations: 19.91 kB / 0.7398 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 6.181e-06/0.2051, allocations: 4 kB / 0.7398 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.2054, allocations: 158.9 kB / 0.74 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.2057, allocations: 36.38 kB / 0.74 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.2058, allocations: 63.72 kB / 0.7401 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.206, allocations: 75.58 kB / 0.7401 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.206, allocations: 4 kB / 0.7401 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.2074, allocations: 467.3 kB / 0.7406 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/0.2075, allocations: 39.77 kB / 0.7406 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.2077, allocations: 95.42 kB / 0.7407 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008664/0.2085, allocations: 442 kB / 0.7411 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2086, allocations: 0 / 0.7411 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2086, allocations: 0 / 0.7411 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.2086, allocations: 0 / 0.7411 GB, free: 12.17 MB / 0.5762 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.0009071/0.2095, allocations: 0.5603 MB / 0.7417 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.2095, allocations: 8.031 kB / 0.7417 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.963e-05/0.2096, allocations: 106 kB / 0.7418 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.2098, allocations: 104 kB / 0.7419 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.2102, allocations: 306.4 kB / 0.7422 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.153e-05/0.2103, allocations: 158.9 kB / 0.7423 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.971e-05/0.2104, allocations: 154.9 kB / 0.7425 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.513e-05/0.2105, allocations: 109.5 kB / 0.7426 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.806e-05/0.2106, allocations: 79.22 kB / 0.7427 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.959e-05/0.2107, allocations: 150.6 kB / 0.7428 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.2108, allocations: 154.5 kB / 0.743 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.2109, allocations: 158.6 kB / 0.7431 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007025/0.2116, allocations: 0.5328 MB / 0.7436 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.2118, allocations: 173.1 kB / 0.7438 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.2118, allocations: 84.14 kB / 0.7439 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/0.2119, allocations: 75.28 kB / 0.7439 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.381e-05/0.212, allocations: 113.8 kB / 0.7441 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.212, allocations: 0 / 0.7441 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0002123/0.2122, allocations: 57.44 kB / 0.7441 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.158e-05/0.2123, allocations: 126.7 kB / 0.7442 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006889/0.213, allocations: 433.3 kB / 0.7446 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.213, allocations: 25.7 kB / 0.7447 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.2131, allocations: 132.6 kB / 0.7448 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.2132, allocations: 0 / 0.7448 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.2133, allocations: 97.66 kB / 0.7449 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.2135, allocations: 338.8 kB / 0.7452 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.2137, allocations: 96.5 kB / 0.7453 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.2139, allocations: 169.3 kB / 0.7455 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.2143, allocations: 313.5 kB / 0.7458 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2143, allocations: 3.938 kB / 0.7458 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006146/0.2149, allocations: 325.1 kB / 0.7461 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.2149, allocations: 15.88 kB / 0.7461 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.2149, allocations: 0 / 0.7461 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.215, allocations: 7.938 kB / 0.7461 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.215, allocations: 0 / 0.7461 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.215, allocations: 7.984 kB / 0.7461 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.2152, allocations: 43.73 kB / 0.7461 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.2152, allocations: 8 kB / 0.7462 GB, free: 6.73 MB / 0.5762 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.0003232/0.2155, allocations: 240.1 kB / 0.7464 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.796e-05/0.2156, allocations: 132.7 kB / 0.7465 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.2159, allocations: 115 kB / 0.7466 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001193/0.216, allocations: 184.3 kB / 0.7468 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.551e-05/0.2161, allocations: 188.2 kB / 0.747 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.99e-05/0.2162, allocations: 176.3 kB / 0.7471 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006068/0.2168, allocations: 477.2 kB / 0.7476 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.354e-05/0.2169, allocations: 105 kB / 0.7477 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.217, allocations: 104.9 kB / 0.7478 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001583/0.2171, allocations: 188.2 kB / 0.748 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.2172, allocations: 180.3 kB / 0.7482 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001732/0.2174, allocations: 180.2 kB / 0.7483 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.931e-05/0.2175, allocations: 176.3 kB / 0.7485 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.2178, allocations: 327.6 kB / 0.7488 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.218, allocations: 205.9 kB / 0.749 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.2181, allocations: 188.1 kB / 0.7492 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.2183, allocations: 105 kB / 0.7493 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/0.2184, allocations: 180.2 kB / 0.7495 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/0.2185, allocations: 109 kB / 0.7496 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003448/0.2188, allocations: 275.1 kB / 0.7498 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2188, allocations: 4 kB / 0.7498 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004903/0.2193, allocations: 83.88 kB / 0.7499 GB, free: 2.672 MB / 0.5762 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.0008843/0.2202, allocations: 0.9605 MB / 0.7508 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002935/0.2205, allocations: 164.2 kB / 0.751 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2205, allocations: 8.062 kB / 0.751 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.2205, allocations: 0 / 0.751 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.221, allocations: 465.1 kB / 0.7514 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3434/0.5645, allocations: 2.931 MB / 0.7543 GB, free: 17.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.5647, allocations: 0.7767 MB / 0.7551 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.072e-05/0.5647, allocations: 5.25 kB / 0.7551 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.5648, allocations: 52.69 kB / 0.7551 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.5648, allocations: 4.031 kB / 0.7551 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.5976, allocations: 6.438 MB / 0.7614 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.535/9.133, allocations: 11.25 kB / 0.7614 GB, free: 16.61 MB / 0.5762 GB " [Timeout remaining time 651] (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: 12.847731576766819] Failed to read output from testmodel.py, exit status != 0: 9.204766080714762 9.228009261 9.015119975 Calling exit ...