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.001203/0.001203, allocations: 101.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.0009036/0.0009036, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.94/0.94, allocations: 230.6 MB / 256 MB, free: 9.586 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.7903/0.7903, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.001344/0.001344, allocations: 67.48 kB / 0.7181 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4733/0.4746, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002309/0.4769, allocations: 1.424 MB / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.4788, allocations: 1.755 MB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.4789, allocations: 1.406 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.4801, allocations: 358.3 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.665e-05/0.4801, allocations: 17.47 kB / 0.8212 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.4801, allocations: 0 / 0.8212 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.4803, allocations: 126.4 kB / 0.8214 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/0.4804, allocations: 6.172 kB / 0.8214 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.613e-05/0.4804, allocations: 48.69 kB / 0.8214 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.4805, allocations: 65.67 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.4805, allocations: 0 / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.4809, allocations: 173.9 kB / 0.8216 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.481, allocations: 31.77 kB / 0.8217 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.808e-05/0.4811, allocations: 56.44 kB / 0.8217 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.4815, allocations: 293.2 kB / 0.822 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4815, allocations: 4 kB / 0.822 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4815, allocations: 1.062 kB / 0.822 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.4816, allocations: 0 / 0.822 GB, free: 14.46 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.0006015/0.4822, allocations: 430 kB / 0.8224 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4822, allocations: 8.844 kB / 0.8224 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.4822, allocations: 108.5 kB / 0.8225 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.4823, allocations: 95.3 kB / 0.8226 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.4825, allocations: 241.5 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-05/0.4826, allocations: 160 kB / 0.823 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.4826, allocations: 155.3 kB / 0.8231 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.259e-05/0.4827, allocations: 110 kB / 0.8233 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.4827, allocations: 75.28 kB / 0.8233 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.4827, allocations: 151.8 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/0.4828, allocations: 152 kB / 0.8236 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.484e-05/0.4828, allocations: 155.6 kB / 0.8238 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.4831, allocations: 480.7 kB / 0.8242 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.425e-05/0.4831, allocations: 176.1 kB / 0.8244 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.4832, allocations: 84.19 kB / 0.8245 GB, free: 12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.4832, allocations: 79.22 kB / 0.8245 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.4832, allocations: 113.3 kB / 0.8247 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.4832, allocations: 0 / 0.8247 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001211/0.4833, allocations: 49.47 kB / 0.8247 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.4834, allocations: 127.9 kB / 0.8248 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.4837, allocations: 327.2 kB / 0.8251 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.4837, allocations: 25.7 kB / 0.8252 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.4838, allocations: 115 kB / 0.8253 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-06/0.4838, allocations: 0 / 0.8253 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.4838, allocations: 62.92 kB / 0.8253 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.987e-05/0.4839, allocations: 329.8 kB / 0.8256 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/0.484, allocations: 66.36 kB / 0.8257 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.954e-05/0.4841, allocations: 123.7 kB / 0.8258 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.4843, allocations: 215 kB / 0.826 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4843, allocations: 1.344 kB / 0.826 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003297/0.4846, allocations: 238.5 kB / 0.8263 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4846, allocations: 6.969 kB / 0.8263 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4846, allocations: 1.312 kB / 0.8263 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4846, allocations: 2.562 kB / 0.8263 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.995e-06/0.4846, allocations: 6.906 kB / 0.8263 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.4847, allocations: 2.312 kB / 0.8263 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.4848, allocations: 34.61 kB / 0.8263 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.4848, allocations: 8.719 kB / 0.8263 GB, free: 10.6 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.0001757/0.4849, allocations: 228 kB / 0.8265 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.485, allocations: 119.2 kB / 0.8266 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.485, allocations: 115.9 kB / 0.8268 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-05/0.4851, allocations: 178.6 kB / 0.8269 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.984e-05/0.4851, allocations: 182.4 kB / 0.8271 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.732e-05/0.4851, allocations: 182.1 kB / 0.8273 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.4853, allocations: 417.8 kB / 0.8277 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.817e-05/0.4853, allocations: 111.1 kB / 0.8278 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-05/0.4854, allocations: 109.6 kB / 0.8279 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.673e-05/0.4854, allocations: 178.5 kB / 0.8281 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.4854, allocations: 182.9 kB / 0.8282 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.776e-05/0.4855, allocations: 182.7 kB / 0.8284 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.303e-05/0.4855, allocations: 186.3 kB / 0.8286 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.4856, allocations: 320.4 kB / 0.8289 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.4857, allocations: 132.3 kB / 0.829 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/0.4859, allocations: 178.2 kB / 0.8292 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.486, allocations: 108.6 kB / 0.8293 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.486, allocations: 178.4 kB / 0.8295 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.486, allocations: 101.6 kB / 0.8296 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001857/0.4862, allocations: 222.3 kB / 0.8298 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4862, allocations: 1.344 kB / 0.8298 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003208/0.4866, allocations: 65.55 kB / 0.8298 GB, free: 7.082 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.0005191/0.4871, allocations: 0.9115 MB / 0.8307 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.4872, allocations: 84.8 kB / 0.8308 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4872, allocations: 0 / 0.8308 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/0.4872, allocations: 0 / 0.8308 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.4875, allocations: 475.2 kB / 0.8313 GB, free: 5.742 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.4894, allocations: 2.422 MB / 0.8336 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.4895, allocations: 138.8 kB / 0.8338 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.724e-05/0.4895, allocations: 3.234 kB / 0.8338 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.4896, allocations: 33.33 kB / 0.8338 GB, free: 3.895 MB / 0.6198 GB Notification: Performance of SimCode: time 8.11e-07/0.4896, allocations: 0 / 0.8338 GB, free: 3.895 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.5114, allocations: 5.42 MB / 0.8391 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.557/7.068, allocations: 11.88 kB / 0.8391 GB, free: 2.711 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: 9.93273275019601] Failed to read output from testmodel.py, exit status != 0: 7.1489089033566415 7.161077173 6.677129335 Calling exit ...