Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008134/0.0008134, 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.000866/0.000866, 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.9034/0.9034, allocations: 177.1 MB / 202.8 MB, free: 5.766 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.7232/0.7232, allocations: 154.5 MB / 413.7 MB, free: 0.8438 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_low,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.618 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.653e-05, allocations: 8.734 kB / 0.618 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002437/0.002454, allocations: 1.405 MB / 0.6194 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00223/0.004684, allocations: 1.752 MB / 0.6211 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.004715, allocations: 4 kB / 0.6211 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.005778, allocations: 357 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.005836, allocations: 27.84 kB / 0.6215 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.469e-06/0.00584, allocations: 0 / 0.6215 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.006074, allocations: 135.1 kB / 0.6216 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.006124, allocations: 5.688 kB / 0.6216 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.006229, allocations: 63.81 kB / 0.6217 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.006348, allocations: 47.89 kB / 0.6217 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.006365, allocations: 0 / 0.6217 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.006752, allocations: 175.8 kB / 0.6219 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.006807, allocations: 35.83 kB / 0.6219 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.00687, allocations: 51.92 kB / 0.622 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.007274, allocations: 306.7 kB / 0.6223 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.007278, allocations: 4 kB / 0.6223 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.012e-06/0.007279, allocations: 0 / 0.6223 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.007283, allocations: 4 kB / 0.6223 GB, free: 9.418 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.000446/0.007729, allocations: 413.2 kB / 0.6227 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.007764, allocations: 9.469 kB / 0.6227 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.0078, allocations: 110 kB / 0.6228 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.107e-05/0.007891, allocations: 108.1 kB / 0.6229 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.008032, allocations: 228.4 kB / 0.6231 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.008079, allocations: 154.9 kB / 0.6232 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.008118, allocations: 154.9 kB / 0.6234 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.681e-05/0.008165, allocations: 101.5 kB / 0.6235 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.008183, allocations: 75.47 kB / 0.6236 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.008217, allocations: 154.5 kB / 0.6237 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.00825, allocations: 154.6 kB / 0.6239 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.207e-05/0.008292, allocations: 154.5 kB / 0.624 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.008538, allocations: 492.7 kB / 0.6245 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.504e-05/0.008593, allocations: 165.1 kB / 0.6246 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.213e-05/0.008615, allocations: 92.14 kB / 0.6247 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.008633, allocations: 75.28 kB / 0.6248 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.008678, allocations: 109.8 kB / 0.6249 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.008679, allocations: 0 / 0.6249 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001041/0.008783, allocations: 53.48 kB / 0.6249 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.008822, allocations: 126.7 kB / 0.6251 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.009039, allocations: 317.7 kB / 0.6254 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.009049, allocations: 33.7 kB / 0.6254 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.009102, allocations: 116.5 kB / 0.6255 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.009105, allocations: 0 / 0.6255 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.009152, allocations: 65.61 kB / 0.6256 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.009271, allocations: 334.8 kB / 0.6259 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.00933, allocations: 63.95 kB / 0.626 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.149e-05/0.009411, allocations: 121.7 kB / 0.6261 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.009564, allocations: 205.9 kB / 0.6263 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.009566, allocations: 0 / 0.6263 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002643/0.009831, allocations: 237.4 kB / 0.6265 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.009842, allocations: 4 kB / 0.6265 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.009848, allocations: 3.938 kB / 0.6265 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.009859, allocations: 4 kB / 0.6265 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.00986, allocations: 3.938 kB / 0.6265 GB, free: 4.824 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.009865, allocations: 8.219 kB / 0.6265 GB, free: 4.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.711e-05/0.009932, allocations: 27.73 kB / 0.6265 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.009939, allocations: 4 kB / 0.6265 GB, free: 4.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.0001247/0.01006, allocations: 226 kB / 0.6268 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.01011, allocations: 128.8 kB / 0.6269 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.01014, allocations: 121.5 kB / 0.627 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.952e-05/0.01018, allocations: 180.3 kB / 0.6272 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-05/0.01022, allocations: 180.2 kB / 0.6273 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.772e-05/0.01032, allocations: 180.3 kB / 0.6275 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.01048, allocations: 424.2 kB / 0.6279 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-05/0.0105, allocations: 109 kB / 0.628 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.01053, allocations: 105 kB / 0.6281 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-05/0.01056, allocations: 180.2 kB / 0.6283 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.0106, allocations: 180.2 kB / 0.6285 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.678e-05/0.01064, allocations: 184.2 kB / 0.6286 GB, free: 2.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.54e-05/0.01067, allocations: 180.5 kB / 0.6288 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.978e-05/0.01076, allocations: 323.7 kB / 0.6291 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.01081, allocations: 124.8 kB / 0.6292 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.01086, allocations: 188.1 kB / 0.6294 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.01092, allocations: 104.9 kB / 0.6295 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.01097, allocations: 184.2 kB / 0.6297 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.01099, allocations: 113 kB / 0.6298 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001273/0.01112, allocations: 213.2 kB / 0.63 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01112, allocations: 0 / 0.63 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002186/0.01134, allocations: 63.94 kB / 0.6301 GB, free: 0.9727 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.0003685/0.01171, allocations: 0.9217 MB / 0.631 GB, free: 20 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.01196, allocations: 83.91 kB / 0.6311 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01197, allocations: 0 / 0.6311 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.71e-07/0.01197, allocations: 4 kB / 0.6311 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.01221, allocations: 462.2 kB / 0.6315 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.0138, allocations: 2.448 MB / 0.6339 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.211e-05/0.01388, allocations: 131.3 kB / 0.634 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.925e-05/0.0139, allocations: 7.906 kB / 0.634 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.01395, allocations: 36.48 kB / 0.6341 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.01395, allocations: 0 / 0.6341 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.02988, allocations: 5.566 MB / 0.6395 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.883/6.913, allocations: 3.938 kB / 0.6395 GB, free: 7.32 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.559090725146234] Failed to read output from testmodel.py, exit status != 0: 6.994834185577929 7.005768226 6.996607735 Calling exit ...