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.0007747/0.0007747, 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.0008822/0.0008822, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9977/0.9977, allocations: 230.6 MB / 256 MB, free: 9.594 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.7916/0.7916, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.001546/0.001546, allocations: 71.47 kB / 0.7181 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4918/0.4934, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003995/0.4974, allocations: 3.199 MB / 0.8209 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.4991, allocations: 1.393 MB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.4992, allocations: 8 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006843/0.4999, allocations: 330 kB / 0.8226 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.5002, allocations: 155.5 kB / 0.8227 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.5005, allocations: 164.8 kB / 0.8229 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.5009, allocations: 337.9 kB / 0.8232 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.5012, allocations: 189.2 kB / 0.8234 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.5014, allocations: 155.6 kB / 0.8235 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.5017, allocations: 148 kB / 0.8237 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.5017, allocations: 19.12 kB / 0.8237 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.5019, allocations: 154.6 kB / 0.8238 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.448e-05/0.502, allocations: 91.66 kB / 0.8239 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.922e-05/0.5021, allocations: 101.6 kB / 0.824 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.5025, allocations: 362.2 kB / 0.8244 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5025, allocations: 0 / 0.8244 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5025, allocations: 0 / 0.8244 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.5025, allocations: 0 / 0.8244 GB, free: 13.09 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.0006845/0.5032, allocations: 490.9 kB / 0.8248 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.5032, allocations: 15.08 kB / 0.8248 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.5033, allocations: 59.3 kB / 0.8249 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004527/0.5037, allocations: 93.61 kB / 0.825 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.504, allocations: 203.7 kB / 0.8252 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.504, allocations: 13.19 kB / 0.8252 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.504, allocations: 22.08 kB / 0.8252 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.5045, allocations: 403 kB / 0.8256 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5045, allocations: 3.938 kB / 0.8256 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.5045, allocations: 6.844 kB / 0.8256 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.5045, allocations: 20.55 kB / 0.8256 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.5048, allocations: 208 kB / 0.8258 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.5058, allocations: 1.067 MB / 0.8269 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.5061, allocations: 117.9 kB / 0.827 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.5062, allocations: 41.23 kB / 0.827 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.5062, allocations: 1.219 kB / 0.827 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.5062, allocations: 35.25 kB / 0.8271 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.5062, allocations: 0 / 0.8271 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003714/0.5066, allocations: 188.2 kB / 0.8272 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.5066, allocations: 56.44 kB / 0.8273 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.5068, allocations: 220.4 kB / 0.8275 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.5068, allocations: 27.14 kB / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.5069, allocations: 173.2 kB / 0.8277 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.5069, allocations: 34.47 kB / 0.8277 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.5069, allocations: 37.44 kB / 0.8278 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.507, allocations: 332.6 kB / 0.8281 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-05/0.5071, allocations: 43.28 kB / 0.8281 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.605e-05/0.5072, allocations: 112.8 kB / 0.8282 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.5074, allocations: 169.3 kB / 0.8284 GB, free: 10 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5074, allocations: 0 / 0.8284 GB, free: 10 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002663/0.5076, allocations: 217.6 kB / 0.8286 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.5076, allocations: 13.73 kB / 0.8286 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.5076, allocations: 1.469 kB / 0.8286 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.5078, allocations: 36.34 kB / 0.8287 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.5079, allocations: 27.95 kB / 0.8287 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007819/0.5086, allocations: 1.322 MB / 0.83 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.961e-05/0.5087, allocations: 21.16 kB / 0.83 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.5087, allocations: 14.16 kB / 0.83 GB, free: 8.551 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.0001101/0.5088, allocations: 147.8 kB / 0.8301 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.5089, allocations: 17.03 kB / 0.8302 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.5089, allocations: 19.73 kB / 0.8302 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.5089, allocations: 1.281 kB / 0.8302 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5089, allocations: 1.031 kB / 0.8302 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.5089, allocations: 0.6562 kB / 0.8302 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.5093, allocations: 453.1 kB / 0.8306 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5093, allocations: 1.375 kB / 0.8306 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-05/0.5094, allocations: 14.75 kB / 0.8306 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.414e-05/0.5094, allocations: 24.33 kB / 0.8307 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.5095, allocations: 0.7969 kB / 0.8307 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008896/0.5103, allocations: 1.311 MB / 0.8319 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5103, allocations: 5.297 kB / 0.8319 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.5105, allocations: 241 kB / 0.8322 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.5106, allocations: 28.05 kB / 0.8322 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.5106, allocations: 1.062 kB / 0.8322 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.5107, allocations: 14.23 kB / 0.8322 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.5107, allocations: 6.453 kB / 0.8322 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.5107, allocations: 2.703 kB / 0.8322 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.88e-05/0.5108, allocations: 153.2 kB / 0.8324 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5108, allocations: 1.188 kB / 0.8324 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002345/0.511, allocations: 55.08 kB / 0.8324 GB, free: 6.426 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.0004511/0.5115, allocations: 0.7716 MB / 0.8332 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004134/0.5119, allocations: 223.4 kB / 0.8334 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5119, allocations: 1.25 kB / 0.8334 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.5121, allocations: 162.6 kB / 0.8335 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.5124, allocations: 39.89 kB / 0.8336 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.5146, allocations: 2.164 MB / 0.8357 GB, free: 3.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.5148, allocations: 147.1 kB / 0.8358 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.5149, allocations: 32.31 kB / 0.8359 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.434e-05/0.515, allocations: 56.12 kB / 0.8359 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of SimCode: time 2.535e-06/0.515, allocations: 1 kB / 0.8359 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.5364, allocations: 4.704 MB / 0.8405 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.934/7.47, allocations: 8.875 kB / 0.8405 GB, free: 2.297 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.533946329727769] Failed to read output from testmodel.py, exit status != 0: 7.551011787261814 7.561411811 7.056487557 Calling exit ...