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.0007671/0.0007671, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008589/0.0008589, allocations: 222.9 kB / 22.26 MB, free: 3.691 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.9859/0.9859, allocations: 230.6 MB / 256 MB, free: 9.805 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.7972/0.7972, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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_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: 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.001535/0.001535, allocations: 65.89 kB / 0.7182 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4786/0.4802, allocations: 102 MB / 0.8178 GB, free: 1.289 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001821/0.482, allocations: 1.426 MB / 0.8192 GB, free: 304 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.4837, allocations: 1.976 MB / 0.8212 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.4838, allocations: 0 / 0.8212 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008737/0.4847, allocations: 394.3 kB / 0.8215 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.205e-05/0.4847, allocations: 17.19 kB / 0.8216 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.669e-06/0.4847, allocations: 0 / 0.8216 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.4849, allocations: 128.8 kB / 0.8217 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.4849, allocations: 7.938 kB / 0.8217 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.735e-05/0.485, allocations: 49.47 kB / 0.8217 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.4851, allocations: 58.97 kB / 0.8218 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.4851, allocations: 2.469 kB / 0.8218 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/0.4855, allocations: 189.8 kB / 0.822 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.4855, allocations: 30.47 kB / 0.822 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.4856, allocations: 71.84 kB / 0.8221 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004066/0.486, allocations: 291.1 kB / 0.8223 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.486, allocations: 0.6094 kB / 0.8223 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.486, allocations: 0 / 0.8223 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.486, allocations: 0 / 0.8223 GB, free: 14.42 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.0005574/0.4866, allocations: 423.7 kB / 0.8228 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.4866, allocations: 8.594 kB / 0.8228 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.4867, allocations: 114.7 kB / 0.8229 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.4868, allocations: 96.45 kB / 0.823 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.487, allocations: 234.7 kB / 0.8232 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.487, allocations: 154.9 kB / 0.8233 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.487, allocations: 153.2 kB / 0.8235 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.642e-05/0.4871, allocations: 106.8 kB / 0.8236 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.4871, allocations: 79.28 kB / 0.8237 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.4872, allocations: 150.6 kB / 0.8238 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-05/0.4872, allocations: 152 kB / 0.8239 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.647e-05/0.4873, allocations: 159.2 kB / 0.8241 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.4876, allocations: 479.6 kB / 0.8246 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.058e-05/0.4876, allocations: 174.9 kB / 0.8247 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.4877, allocations: 84.19 kB / 0.8248 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.4877, allocations: 80.75 kB / 0.8249 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.4877, allocations: 106.5 kB / 0.825 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4877, allocations: 3.938 kB / 0.825 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.000132/0.4878, allocations: 54.89 kB / 0.825 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.4879, allocations: 126.7 kB / 0.8252 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.4882, allocations: 322.4 kB / 0.8255 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.4882, allocations: 25.7 kB / 0.8255 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.4883, allocations: 118.9 kB / 0.8256 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.4883, allocations: 0 / 0.8256 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.4883, allocations: 61.11 kB / 0.8257 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.4884, allocations: 340.8 kB / 0.826 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/0.4885, allocations: 66.16 kB / 0.826 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.465e-05/0.4886, allocations: 131.2 kB / 0.8262 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.4888, allocations: 208.1 kB / 0.8264 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4888, allocations: 1.312 kB / 0.8264 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003143/0.4891, allocations: 242.6 kB / 0.8266 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4891, allocations: 6.375 kB / 0.8266 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4891, allocations: 1.438 kB / 0.8266 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4891, allocations: 3.094 kB / 0.8266 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.4891, allocations: 1.562 kB / 0.8266 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4891, allocations: 3.484 kB / 0.8266 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.4892, allocations: 34.02 kB / 0.8267 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.4892, allocations: 4.641 kB / 0.8267 GB, free: 10.56 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.0001723/0.4894, allocations: 228.9 kB / 0.8269 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.4895, allocations: 123.5 kB / 0.827 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.4895, allocations: 115.8 kB / 0.8271 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.203e-05/0.4895, allocations: 182.1 kB / 0.8273 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.172e-05/0.4896, allocations: 182.3 kB / 0.8274 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.896e-05/0.4896, allocations: 181.2 kB / 0.8276 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.4898, allocations: 424 kB / 0.828 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-05/0.4899, allocations: 107.3 kB / 0.8281 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.4899, allocations: 104.9 kB / 0.8282 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.326e-05/0.4899, allocations: 178.4 kB / 0.8284 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.49, allocations: 182.4 kB / 0.8286 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.441e-05/0.49, allocations: 182.2 kB / 0.8287 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-05/0.4901, allocations: 180.9 kB / 0.8289 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.4902, allocations: 322.8 kB / 0.8292 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.4902, allocations: 129.4 kB / 0.8294 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.4903, allocations: 185.8 kB / 0.8295 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.4904, allocations: 108 kB / 0.8296 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.4904, allocations: 180.9 kB / 0.8298 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.4904, allocations: 102.5 kB / 0.8299 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001775/0.4906, allocations: 215.1 kB / 0.8301 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4906, allocations: 0 / 0.8301 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003025/0.4909, allocations: 64.62 kB / 0.8302 GB, free: 7.035 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.0004939/0.4914, allocations: 0.9338 MB / 0.8311 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.4916, allocations: 79.81 kB / 0.8312 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4916, allocations: 0 / 0.8312 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.4916, allocations: 2.016 kB / 0.8312 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.4919, allocations: 471.3 kB / 0.8316 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.4937, allocations: 2.436 MB / 0.834 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.494, allocations: 0.7445 MB / 0.8347 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.455e-05/0.494, allocations: 4.156 kB / 0.8347 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.494, allocations: 33.11 kB / 0.8347 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.494, allocations: 0 / 0.8347 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.5153, allocations: 4.944 MB / 0.8396 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.84/7.356, allocations: 2.531 kB / 0.8396 GB, free: 2.457 MB / 0.6198 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: 10.280807971954346] Failed to read output from testmodel.py, exit status != 0: 7.434318630956113 7.445595229 6.957462493 Calling exit ...