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.0007698/0.0007698, 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.001125/0.001125, 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.9536/0.9536, allocations: 230.6 MB / 256 MB, free: 9.809 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.8006/0.8006, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.0009774/0.0009774, allocations: 66.56 kB / 0.7182 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4745, allocations: 102 MB / 0.8178 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001817/0.4763, allocations: 1.434 MB / 0.8192 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.4779, allocations: 1.966 MB / 0.8212 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.4779, allocations: 0 / 0.8212 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008213/0.4788, allocations: 395 kB / 0.8215 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.894e-05/0.4788, allocations: 22.67 kB / 0.8216 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.248e-06/0.4788, allocations: 0 / 0.8216 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.479, allocations: 120.8 kB / 0.8217 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.479, allocations: 10.98 kB / 0.8217 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.974e-05/0.4791, allocations: 48.94 kB / 0.8217 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.4792, allocations: 62.81 kB / 0.8218 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.4792, allocations: 2.406 kB / 0.8218 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/0.4795, allocations: 184.2 kB / 0.822 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.488e-05/0.4796, allocations: 28.38 kB / 0.822 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.4796, allocations: 75.47 kB / 0.8221 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.48, allocations: 292 kB / 0.8223 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.48, allocations: 4 kB / 0.8224 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.503e-06/0.48, allocations: 0 / 0.8224 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.48, allocations: 0.6562 kB / 0.8224 GB, free: 14.41 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.0004906/0.4805, allocations: 429.4 kB / 0.8228 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4805, allocations: 9.688 kB / 0.8228 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.4805, allocations: 107.1 kB / 0.8229 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.534e-05/0.4806, allocations: 94.06 kB / 0.823 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.4808, allocations: 242.2 kB / 0.8232 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.4808, allocations: 152.1 kB / 0.8233 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.4809, allocations: 157.3 kB / 0.8235 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.956e-05/0.4809, allocations: 108.9 kB / 0.8236 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.4809, allocations: 79.27 kB / 0.8237 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.481, allocations: 155.6 kB / 0.8238 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.481, allocations: 154.6 kB / 0.824 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/0.4811, allocations: 151.7 kB / 0.8241 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.4813, allocations: 483.3 kB / 0.8246 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.876e-05/0.4814, allocations: 170.9 kB / 0.8247 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.4814, allocations: 88.19 kB / 0.8248 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.4814, allocations: 80.31 kB / 0.8249 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.4814, allocations: 107.8 kB / 0.825 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4814, allocations: 0 / 0.825 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001135/0.4816, allocations: 49.75 kB / 0.825 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.4816, allocations: 131.4 kB / 0.8252 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.4818, allocations: 325.5 kB / 0.8255 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.4819, allocations: 27.17 kB / 0.8255 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.4819, allocations: 117.3 kB / 0.8256 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.4819, allocations: 1.469 kB / 0.8256 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.482, allocations: 65.19 kB / 0.8257 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.551e-05/0.482, allocations: 330.7 kB / 0.826 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.178e-05/0.4821, allocations: 63.55 kB / 0.8261 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.862e-05/0.4822, allocations: 124.8 kB / 0.8262 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.4824, allocations: 213 kB / 0.8264 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4824, allocations: 0 / 0.8264 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002785/0.4827, allocations: 241.9 kB / 0.8266 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.4827, allocations: 5.688 kB / 0.8266 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4827, allocations: 7.312 kB / 0.8266 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4827, allocations: 1.5 kB / 0.8266 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-06/0.4827, allocations: 2.781 kB / 0.8266 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4827, allocations: 2.422 kB / 0.8266 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.128e-05/0.4828, allocations: 30.55 kB / 0.8267 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4828, allocations: 4.734 kB / 0.8267 GB, free: 10.55 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.0001663/0.4829, allocations: 225.8 kB / 0.8269 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.483, allocations: 124.7 kB / 0.827 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.483, allocations: 114.8 kB / 0.8271 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-05/0.4831, allocations: 182 kB / 0.8273 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.193e-05/0.4831, allocations: 178.2 kB / 0.8275 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.96e-05/0.4832, allocations: 181 kB / 0.8276 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.4836, allocations: 424.5 kB / 0.828 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.588e-05/0.4836, allocations: 110.5 kB / 0.8281 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.407e-05/0.4836, allocations: 101.9 kB / 0.8282 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.87e-05/0.4837, allocations: 178.2 kB / 0.8284 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.4837, allocations: 190.2 kB / 0.8286 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.949e-05/0.4838, allocations: 178.2 kB / 0.8288 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-05/0.4838, allocations: 185 kB / 0.8289 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.7e-05/0.4839, allocations: 323.5 kB / 0.8292 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.4839, allocations: 128.1 kB / 0.8294 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.484, allocations: 178.9 kB / 0.8295 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.4841, allocations: 106.9 kB / 0.8296 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.4841, allocations: 182.3 kB / 0.8298 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.4841, allocations: 101.7 kB / 0.8299 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00016/0.4843, allocations: 218.7 kB / 0.8301 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4843, allocations: 0 / 0.8301 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000256/0.4846, allocations: 64.73 kB / 0.8302 GB, free: 7.027 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.0004519/0.485, allocations: 0.9231 MB / 0.8311 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.4852, allocations: 83.81 kB / 0.8312 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4852, allocations: 0 / 0.8312 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.4852, allocations: 1.062 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.0002579/0.4854, allocations: 475.4 kB / 0.8316 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.4872, allocations: 2.436 MB / 0.834 GB, free: 3.918 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.4875, allocations: 0.7369 MB / 0.8347 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.882e-05/0.4875, allocations: 3.25 kB / 0.8347 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.4875, allocations: 38 kB / 0.8347 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.4875, allocations: 4 kB / 0.8348 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.5107, allocations: 4.936 MB / 0.8396 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/7.378, allocations: 10.62 kB / 0.8396 GB, free: 2.449 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.349889075150713] Failed to read output from testmodel.py, exit status != 0: 7.45795529987663 7.475212378 6.992983742 Calling exit ...