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.001073/0.001073, 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.00126/0.00126, allocations: 217.7 kB / 22.25 MB, free: 3.707 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.9212/0.9212, allocations: 230.6 MB / 256 MB, free: 9.801 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.7766/0.7766, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.0008889/0.0008889, allocations: 62.5 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4525, allocations: 102 MB / 0.8178 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001801/0.4543, allocations: 1.442 MB / 0.8193 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002342/0.4566, allocations: 2.712 MB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.376e-05/0.4566, allocations: 0 / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.458, allocations: 0.5902 MB / 0.8225 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6e-05/0.458, allocations: 23.77 kB / 0.8225 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.458, allocations: 0 / 0.8225 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.4583, allocations: 162.6 kB / 0.8227 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.432e-05/0.4583, allocations: 15.55 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.21e-05/0.4584, allocations: 65.05 kB / 0.8227 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.4585, allocations: 81.69 kB / 0.8228 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.4585, allocations: 2.344 kB / 0.8228 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008503/0.4594, allocations: 468.9 kB / 0.8233 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.4594, allocations: 42.41 kB / 0.8233 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.4595, allocations: 95.81 kB / 0.8234 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005302/0.4601, allocations: 440.8 kB / 0.8238 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4601, allocations: 4.094 kB / 0.8238 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4601, allocations: 0 / 0.8238 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.4601, allocations: 0 / 0.8238 GB, free: 13.5 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.0005665/0.4607, allocations: 496.2 kB / 0.8243 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.4607, allocations: 10.27 kB / 0.8243 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.4607, allocations: 107.4 kB / 0.8244 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.4608, allocations: 108.1 kB / 0.8245 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.461, allocations: 243.2 kB / 0.8247 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.4611, allocations: 156.6 kB / 0.8249 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.4611, allocations: 156.5 kB / 0.825 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.813e-05/0.4611, allocations: 107.7 kB / 0.8251 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.4612, allocations: 79.22 kB / 0.8252 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.4612, allocations: 150.6 kB / 0.8254 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.4612, allocations: 152.1 kB / 0.8255 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.636e-05/0.4613, allocations: 158.5 kB / 0.8257 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.4615, allocations: 0.5079 MB / 0.8261 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/0.4616, allocations: 170.6 kB / 0.8263 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.4616, allocations: 80.89 kB / 0.8264 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.4616, allocations: 79.28 kB / 0.8265 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.4617, allocations: 107.1 kB / 0.8266 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.4617, allocations: 0 / 0.8266 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001246/0.4618, allocations: 60.27 kB / 0.8266 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.4618, allocations: 134.6 kB / 0.8268 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.4622, allocations: 431.8 kB / 0.8272 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.4622, allocations: 27.17 kB / 0.8272 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.4623, allocations: 138 kB / 0.8273 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-06/0.4623, allocations: 1.219 kB / 0.8273 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.442e-05/0.4623, allocations: 89.42 kB / 0.8274 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.4624, allocations: 340 kB / 0.8277 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.883e-05/0.4625, allocations: 98.67 kB / 0.8278 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.4627, allocations: 166.4 kB / 0.828 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.4629, allocations: 305.1 kB / 0.8283 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4629, allocations: 1.219 kB / 0.8283 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003833/0.4633, allocations: 327.6 kB / 0.8286 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4633, allocations: 9.312 kB / 0.8286 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4633, allocations: 2.375 kB / 0.8286 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4633, allocations: 3 kB / 0.8286 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-06/0.4633, allocations: 10.61 kB / 0.8286 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.4633, allocations: 3.547 kB / 0.8286 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.4634, allocations: 44 kB / 0.8287 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.4635, allocations: 2.812 kB / 0.8287 GB, free: 9.387 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.0001631/0.4636, allocations: 245.4 kB / 0.8289 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.4637, allocations: 136.2 kB / 0.829 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.4637, allocations: 123.6 kB / 0.8291 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.126e-05/0.4638, allocations: 182.1 kB / 0.8293 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-05/0.4638, allocations: 181.9 kB / 0.8295 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.233e-05/0.4639, allocations: 178 kB / 0.8297 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.4641, allocations: 448.5 kB / 0.8301 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/0.4641, allocations: 103 kB / 0.8302 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.4641, allocations: 107 kB / 0.8303 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.801e-05/0.4642, allocations: 188.7 kB / 0.8305 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.4642, allocations: 182.2 kB / 0.8306 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.166e-05/0.4643, allocations: 182.1 kB / 0.8308 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.426e-05/0.4643, allocations: 182.2 kB / 0.831 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.4644, allocations: 335.1 kB / 0.8313 GB, free: 6.648 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.4645, allocations: 123.5 kB / 0.8314 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.16e-05/0.4645, allocations: 194 kB / 0.8316 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.4646, allocations: 103 kB / 0.8317 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.4647, allocations: 177.9 kB / 0.8319 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.4647, allocations: 111.4 kB / 0.832 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002211/0.4649, allocations: 280.4 kB / 0.8323 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4649, allocations: 0 / 0.8323 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002927/0.4652, allocations: 82.2 kB / 0.8323 GB, free: 5.797 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.0004784/0.4657, allocations: 0.9535 MB / 0.8333 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.4659, allocations: 126.8 kB / 0.8334 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4659, allocations: 0 / 0.8334 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.4659, allocations: 0 / 0.8334 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.4661, allocations: 466.6 kB / 0.8338 GB, free: 4.426 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.4685, allocations: 2.95 MB / 0.8367 GB, free: 2.477 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.4688, allocations: 0.7772 MB / 0.8375 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.506e-05/0.4688, allocations: 3.109 kB / 0.8375 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.4689, allocations: 56.06 kB / 0.8375 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.4689, allocations: 0 / 0.8375 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.4915, allocations: 6.542 MB / 0.8439 GB, free: 128 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/7.637, allocations: 6.953 kB / 0.8439 GB, free: 128 kB / 0.6198 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med_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_med.fmu > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.540250760037452] Failed to read output from testmodel.py, exit status != 0: 7.715951940976083 7.7295920240000004 7.266569686 Calling exit ...