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.0008976/0.0008976, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009616/0.0009616, allocations: 209.2 kB / 22.25 MB, free: 3.586 MB / 13.93 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.9734/0.9734, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.7708/0.7708, allocations: 203.8 MB / 0.5042 GB, free: 9.949 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009021/0.0009021, allocations: 71.2 kB / 0.7181 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4534, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001805/0.4552, allocations: 1.435 MB / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.4573, allocations: 2.401 MB / 0.8215 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.4573, allocations: 0 / 0.8215 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.4585, allocations: 0.5462 MB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.045e-05/0.4586, allocations: 21.06 kB / 0.8221 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.4586, allocations: 3.938 kB / 0.8221 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.4588, allocations: 162.4 kB / 0.8222 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.208e-05/0.4589, allocations: 10.7 kB / 0.8222 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.968e-05/0.459, allocations: 68.56 kB / 0.8223 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.4591, allocations: 77.78 kB / 0.8224 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.4591, allocations: 2.781 kB / 0.8224 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006854/0.4598, allocations: 404.2 kB / 0.8228 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.4599, allocations: 36.92 kB / 0.8228 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.228e-05/0.46, allocations: 81.72 kB / 0.8229 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.4604, allocations: 440.7 kB / 0.8233 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.4604, allocations: 0 / 0.8233 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4604, allocations: 1.375 kB / 0.8233 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.4605, allocations: 0 / 0.8233 GB, free: 13.73 MB / 0.6198 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.0005612/0.461, allocations: 497.4 kB / 0.8238 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.4611, allocations: 8.969 kB / 0.8238 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.4611, allocations: 108 kB / 0.8239 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.4612, allocations: 104.8 kB / 0.824 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.4616, allocations: 238.9 kB / 0.8242 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.4616, allocations: 153.8 kB / 0.8244 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.4617, allocations: 156.4 kB / 0.8245 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.902e-05/0.4617, allocations: 107 kB / 0.8246 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.4617, allocations: 79.22 kB / 0.8247 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.4618, allocations: 152.5 kB / 0.8248 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.4618, allocations: 151.4 kB / 0.825 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.4618, allocations: 155.5 kB / 0.8251 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.4621, allocations: 0.5054 MB / 0.8256 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.367e-05/0.4622, allocations: 170.7 kB / 0.8258 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.4622, allocations: 84.73 kB / 0.8259 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.4622, allocations: 76.59 kB / 0.8259 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.4623, allocations: 111.9 kB / 0.826 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4623, allocations: 0 / 0.826 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001231/0.4624, allocations: 59.39 kB / 0.8261 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.4624, allocations: 128.9 kB / 0.8262 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.4628, allocations: 439.7 kB / 0.8266 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.4628, allocations: 29.7 kB / 0.8267 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.4629, allocations: 131.1 kB / 0.8268 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.4629, allocations: 0 / 0.8268 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.861e-05/0.4629, allocations: 94.23 kB / 0.8269 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.463, allocations: 336.2 kB / 0.8272 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.4632, allocations: 98.38 kB / 0.8273 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.4633, allocations: 165 kB / 0.8275 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.4635, allocations: 305.5 kB / 0.8277 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4635, allocations: 1.094 kB / 0.8277 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003813/0.4639, allocations: 330.8 kB / 0.8281 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4639, allocations: 10.25 kB / 0.8281 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4639, allocations: 6.281 kB / 0.8281 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4639, allocations: 1.531 kB / 0.8281 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.344e-06/0.4639, allocations: 3.062 kB / 0.8281 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.464, allocations: 7.781 kB / 0.8281 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.4641, allocations: 47.95 kB / 0.8281 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.4641, allocations: 4.062 kB / 0.8281 GB, free: 9.621 MB / 0.6198 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.00021/0.4643, allocations: 245.5 kB / 0.8284 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.4643, allocations: 133.6 kB / 0.8285 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.4644, allocations: 118.8 kB / 0.8286 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.179e-05/0.4644, allocations: 182.5 kB / 0.8288 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-05/0.4645, allocations: 182.7 kB / 0.829 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-05/0.4645, allocations: 182.2 kB / 0.8291 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.4647, allocations: 438.9 kB / 0.8296 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.337e-05/0.4647, allocations: 106.5 kB / 0.8297 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.4648, allocations: 106.9 kB / 0.8298 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.223e-05/0.4648, allocations: 186.4 kB / 0.8299 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.4648, allocations: 178.5 kB / 0.8301 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-05/0.4649, allocations: 182.2 kB / 0.8303 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.2e-05/0.4649, allocations: 185.9 kB / 0.8305 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.465, allocations: 333.5 kB / 0.8308 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.4651, allocations: 123.3 kB / 0.8309 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.4651, allocations: 194.7 kB / 0.8311 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.4652, allocations: 107.5 kB / 0.8312 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.4653, allocations: 182.1 kB / 0.8314 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.4653, allocations: 106.7 kB / 0.8315 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002096/0.4655, allocations: 275.7 kB / 0.8317 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4655, allocations: 1.156 kB / 0.8317 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003121/0.4658, allocations: 82.34 kB / 0.8318 GB, free: 6.051 MB / 0.6198 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.0007827/0.4666, allocations: 0.9561 MB / 0.8327 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.4668, allocations: 127 kB / 0.8329 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4668, allocations: 0 / 0.8329 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.4668, allocations: 1.062 kB / 0.8329 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.4671, allocations: 465.4 kB / 0.8333 GB, free: 4.676 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.4695, allocations: 2.937 MB / 0.8362 GB, free: 2.746 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.4696, allocations: 168.9 kB / 0.8363 GB, free: 2.664 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.428e-05/0.4697, allocations: 6.531 kB / 0.8363 GB, free: 2.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.4697, allocations: 56.28 kB / 0.8364 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.4697, allocations: 0 / 0.8364 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.4929, allocations: 7.032 MB / 0.8433 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.684/7.177, allocations: 5.859 kB / 0.8433 GB, free: 0.4922 MB / 0.6198 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: 10.025974588934332] Failed to read output from testmodel.py, exit status != 0: 7.258412312716246 7.276663512 6.812281938 Calling exit ...