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.00124/0.00124, 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.001034/0.001034, allocations: 217.8 kB / 22.26 MB, free: 3.695 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.9748/0.9748, allocations: 230.6 MB / 256 MB, free: 9.793 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.7754/0.7754, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.001277/0.001277, allocations: 74.86 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4375, allocations: 102 MB / 0.8178 GB, free: 1.094 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003156/0.4406, allocations: 3.338 MB / 0.8211 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.4421, allocations: 1.506 MB / 0.8226 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.4422, allocations: 13.88 kB / 0.8226 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006201/0.4429, allocations: 343.9 kB / 0.8229 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.4431, allocations: 152 kB / 0.8231 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.4433, allocations: 158.8 kB / 0.8232 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.4436, allocations: 339.1 kB / 0.8235 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.4439, allocations: 198.1 kB / 0.8237 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.4441, allocations: 150.1 kB / 0.8239 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.4443, allocations: 159.5 kB / 0.824 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.4443, allocations: 20.41 kB / 0.824 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.4445, allocations: 173.4 kB / 0.8242 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.4446, allocations: 92.72 kB / 0.8243 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.271e-05/0.4447, allocations: 117.6 kB / 0.8244 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.445, allocations: 366 kB / 0.8248 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.445, allocations: 0 / 0.8248 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.362e-06/0.445, allocations: 1.125 kB / 0.8248 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4451, allocations: 0 / 0.8248 GB, free: 12.79 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.0006037/0.4457, allocations: 491.9 kB / 0.8252 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.4457, allocations: 12.56 kB / 0.8252 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.4457, allocations: 55.56 kB / 0.8253 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.4461, allocations: 98.39 kB / 0.8254 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.4463, allocations: 200.5 kB / 0.8256 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.4463, allocations: 15.81 kB / 0.8256 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.4464, allocations: 21.38 kB / 0.8256 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.4467, allocations: 319.4 kB / 0.8259 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.4467, allocations: 1.406 kB / 0.8259 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.4467, allocations: 6.781 kB / 0.8259 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.4468, allocations: 23.56 kB / 0.8259 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.447, allocations: 211.9 kB / 0.8261 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.448, allocations: 1.454 MB / 0.8276 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.4483, allocations: 121.6 kB / 0.8277 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.4483, allocations: 38.12 kB / 0.8277 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.4484, allocations: 9.609 kB / 0.8277 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.4484, allocations: 40.23 kB / 0.8278 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.552e-06/0.4484, allocations: 0 / 0.8278 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003343/0.4487, allocations: 178.6 kB / 0.8279 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.4487, allocations: 56.11 kB / 0.828 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.4489, allocations: 211.6 kB / 0.8282 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.4489, allocations: 27.3 kB / 0.8282 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.449, allocations: 188.9 kB / 0.8284 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.449, allocations: 29.97 kB / 0.8284 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.449, allocations: 40.97 kB / 0.8285 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.285e-05/0.4491, allocations: 324 kB / 0.8288 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.162e-05/0.4492, allocations: 42.8 kB / 0.8288 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.944e-05/0.4493, allocations: 117.6 kB / 0.8289 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.4494, allocations: 163.5 kB / 0.8291 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4494, allocations: 5.312 kB / 0.8291 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002344/0.4496, allocations: 215.5 kB / 0.8293 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.4497, allocations: 9.562 kB / 0.8293 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4497, allocations: 2.781 kB / 0.8293 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/0.4498, allocations: 34.5 kB / 0.8293 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.53e-05/0.4499, allocations: 33.52 kB / 0.8294 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006722/0.4505, allocations: 1.323 MB / 0.8307 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.4506, allocations: 24.38 kB / 0.8307 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.4506, allocations: 6.672 kB / 0.8307 GB, free: 7.902 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 9.07e-05/0.4507, allocations: 155.1 kB / 0.8308 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.4507, allocations: 16.41 kB / 0.8309 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.893e-05/0.4507, allocations: 20.86 kB / 0.8309 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.4507, allocations: 5.125 kB / 0.8309 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.4507, allocations: 0 / 0.8309 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.4507, allocations: 1.844 kB / 0.8309 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/0.4512, allocations: 457.6 kB / 0.8313 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4512, allocations: 0.7031 kB / 0.8313 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.4512, allocations: 10.45 kB / 0.8313 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.647e-05/0.4512, allocations: 28.91 kB / 0.8314 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.4513, allocations: 0 / 0.8314 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006269/0.4519, allocations: 1.325 MB / 0.8326 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4519, allocations: 0 / 0.8326 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.4521, allocations: 237.5 kB / 0.8329 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.4521, allocations: 22.89 kB / 0.8329 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.4521, allocations: 1.469 kB / 0.8329 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.4522, allocations: 14.64 kB / 0.8329 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.4522, allocations: 6.234 kB / 0.8329 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.4522, allocations: 1.469 kB / 0.8329 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.345e-05/0.4523, allocations: 154.8 kB / 0.8331 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4523, allocations: 0 / 0.8331 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002079/0.4525, allocations: 59.88 kB / 0.8331 GB, free: 5.766 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.0003757/0.4529, allocations: 0.7705 MB / 0.8339 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.4532, allocations: 223.5 kB / 0.8341 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4532, allocations: 4.625 kB / 0.8341 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.4533, allocations: 162.5 kB / 0.8342 GB, free: 4.773 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.4536, allocations: 42.42 kB / 0.8343 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.4553, allocations: 2.167 MB / 0.8364 GB, free: 3.066 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.4555, allocations: 0.7617 MB / 0.8371 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.395e-05/0.4556, allocations: 28.62 kB / 0.8372 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.456e-05/0.4556, allocations: 56.5 kB / 0.8372 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.4556, allocations: 0 / 0.8372 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.4783, allocations: 4.211 MB / 0.8413 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.116/7.594, allocations: 5.656 kB / 0.8413 GB, free: 1.488 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource_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_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.541273896116763] Failed to read output from testmodel.py, exit status != 0: 7.678133042994887 7.689160966 7.242053406 Calling exit ...