Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.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.0008051/0.0008051, 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.000827/0.000827, allocations: 219.6 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.9831/0.9831, allocations: 230.6 MB / 256 MB, free: 9.789 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.8035/0.8035, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.DC.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource",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.0009746/0.0009746, allocations: 71.58 kB / 0.7182 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4833, allocations: 102 MB / 0.8178 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003413/0.4868, allocations: 3.325 MB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.4885, allocations: 1.502 MB / 0.8226 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.4887, allocations: 9.688 kB / 0.8226 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007182/0.4894, allocations: 348.8 kB / 0.8229 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.4897, allocations: 151.2 kB / 0.823 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.49, allocations: 169.9 kB / 0.8232 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.4903, allocations: 333 kB / 0.8235 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000356/0.4907, allocations: 192.4 kB / 0.8237 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.4909, allocations: 158.2 kB / 0.8239 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.4911, allocations: 156.7 kB / 0.824 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.4912, allocations: 21.09 kB / 0.824 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.4914, allocations: 176.8 kB / 0.8242 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.119e-05/0.4915, allocations: 89.09 kB / 0.8243 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.4916, allocations: 124.1 kB / 0.8244 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.4921, allocations: 362.1 kB / 0.8247 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4921, allocations: 2.219 kB / 0.8247 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4921, allocations: 0 / 0.8247 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.4921, allocations: 0 / 0.8247 GB, free: 12.95 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007662/0.4929, allocations: 486 kB / 0.8252 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4929, allocations: 9.781 kB / 0.8252 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.683e-05/0.493, allocations: 64.44 kB / 0.8253 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004133/0.4934, allocations: 89.72 kB / 0.8254 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.4937, allocations: 200.5 kB / 0.8256 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4937, allocations: 20.91 kB / 0.8256 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.4937, allocations: 16.59 kB / 0.8256 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.4941, allocations: 317.2 kB / 0.8259 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4941, allocations: 4 kB / 0.8259 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.4941, allocations: 14.41 kB / 0.8259 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.4942, allocations: 17.77 kB / 0.8259 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002627/0.4944, allocations: 218.8 kB / 0.8261 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.4956, allocations: 1.458 MB / 0.8276 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.4959, allocations: 114.7 kB / 0.8277 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.461e-05/0.496, allocations: 44.62 kB / 0.8277 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.496, allocations: 5.094 kB / 0.8277 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.496, allocations: 32.2 kB / 0.8278 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.184e-06/0.496, allocations: 1.125 kB / 0.8278 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004124/0.4964, allocations: 185.6 kB / 0.8279 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.4965, allocations: 56.97 kB / 0.828 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.4966, allocations: 211.3 kB / 0.8282 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.4967, allocations: 31.14 kB / 0.8282 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.392e-05/0.4968, allocations: 180.5 kB / 0.8284 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.4968, allocations: 27.28 kB / 0.8284 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.4968, allocations: 39.94 kB / 0.8285 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.315e-05/0.4969, allocations: 329 kB / 0.8288 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.776e-05/0.497, allocations: 46.34 kB / 0.8288 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-05/0.4971, allocations: 113.5 kB / 0.8289 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.4972, allocations: 167 kB / 0.8291 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4972, allocations: 5.438 kB / 0.8291 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002575/0.4975, allocations: 208.2 kB / 0.8293 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4975, allocations: 9.359 kB / 0.8293 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.4975, allocations: 3.219 kB / 0.8293 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001378/0.4977, allocations: 38.38 kB / 0.8293 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.4977, allocations: 33.81 kB / 0.8294 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008141/0.4986, allocations: 1.322 MB / 0.8307 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.623e-05/0.4987, allocations: 19.39 kB / 0.8307 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.4987, allocations: 11.36 kB / 0.8307 GB, free: 8.059 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.4988, allocations: 155.7 kB / 0.8308 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.4988, allocations: 16.5 kB / 0.8308 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.4988, allocations: 28.14 kB / 0.8309 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4988, allocations: 1.719 kB / 0.8309 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4988, allocations: 0 / 0.8309 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4989, allocations: 0.6562 kB / 0.8309 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.4994, allocations: 458 kB / 0.8313 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.4994, allocations: 64 / 0.8313 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.4994, allocations: 15.09 kB / 0.8313 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-05/0.4995, allocations: 29.3 kB / 0.8314 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.4995, allocations: 0 / 0.8314 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007677/0.5003, allocations: 1.321 MB / 0.8326 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.5003, allocations: 0 / 0.8326 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.5005, allocations: 241.6 kB / 0.8329 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.5005, allocations: 27 kB / 0.8329 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.5005, allocations: 5.562 kB / 0.8329 GB, free: 6.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.5006, allocations: 4.984 kB / 0.8329 GB, free: 6.031 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.5006, allocations: 6.344 kB / 0.8329 GB, free: 6.031 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.5006, allocations: 6.625 kB / 0.8329 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.879e-05/0.5007, allocations: 153.8 kB / 0.8331 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5007, allocations: 0 / 0.8331 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002481/0.501, allocations: 60.28 kB / 0.8331 GB, free: 5.91 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004101/0.5014, allocations: 0.7624 MB / 0.8339 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003998/0.5018, allocations: 227 kB / 0.8341 GB, free: 5.055 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5018, allocations: 0.5625 kB / 0.8341 GB, free: 5.055 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.502, allocations: 158.4 kB / 0.8342 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.5023, allocations: 39.22 kB / 0.8343 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.5045, allocations: 2.175 MB / 0.8364 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.5049, allocations: 0.7625 MB / 0.8371 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001304/0.505, allocations: 27.41 kB / 0.8372 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/0.5051, allocations: 60.86 kB / 0.8372 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of SimCode: time 8.42e-07/0.5051, allocations: 4 kB / 0.8372 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.5243, allocations: 4.206 MB / 0.8413 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.896/7.421, allocations: 4.281 kB / 0.8413 GB, free: 1.621 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource.fmu > IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.334553812164813] Failed to read output from testmodel.py, exit status != 0: 7.504946862114593 7.517360696 7.023055987 Calling exit ...