Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007047/0.0007047, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 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.0008628/0.0008628, allocations: 169.2 kB / 23.19 MB, free: 1.371 MB / 18.57 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.9221/0.9221, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7406/0.7406, allocations: 154.7 MB / 414.7 MB, free: 0.7617 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource") [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.0009123/0.0009123, allocations: 74.98 kB / 0.6195 GB, free: 13.15 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4802, allocations: 102 MB / 0.7191 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.00357/0.4838, allocations: 3.162 MB / 0.7222 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.4854, allocations: 1.392 MB / 0.7235 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.4856, allocations: 8.531 kB / 0.7235 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006594/0.4862, allocations: 327.9 kB / 0.7239 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.4865, allocations: 161.7 kB / 0.724 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.4868, allocations: 152.3 kB / 0.7242 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.4871, allocations: 338.3 kB / 0.7245 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003765/0.4875, allocations: 201.8 kB / 0.7247 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.4878, allocations: 210.2 kB / 0.7249 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.488, allocations: 140.9 kB / 0.725 GB, free: 20 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.4881, allocations: 19.56 kB / 0.725 GB, free: 20 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.4883, allocations: 165.1 kB / 0.7252 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.4884, allocations: 84.02 kB / 0.7253 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.515e-05/0.4885, allocations: 109.1 kB / 0.7254 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.489, allocations: 390.2 kB / 0.7257 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.489, allocations: 0 / 0.7257 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/0.489, allocations: 1.531 kB / 0.7257 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.489, allocations: 0 / 0.7257 GB, free: 19.71 MB / 0.6355 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.0007168/0.4897, allocations: 487.2 kB / 0.7262 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4898, allocations: 13.31 kB / 0.7262 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004032/0.4902, allocations: 92.98 kB / 0.7263 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.4904, allocations: 200.7 kB / 0.7265 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.4904, allocations: 13.16 kB / 0.7265 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.4905, allocations: 21.38 kB / 0.7265 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.4909, allocations: 407.2 kB / 0.7269 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4909, allocations: 0 / 0.7269 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.4909, allocations: 7.594 kB / 0.7269 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.491, allocations: 19.88 kB / 0.7269 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.4912, allocations: 215.5 kB / 0.7272 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009106/0.4921, allocations: 1.011 MB / 0.7281 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.4924, allocations: 121.6 kB / 0.7283 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.095e-05/0.4925, allocations: 38.09 kB / 0.7283 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.4925, allocations: 1.156 kB / 0.7283 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.4925, allocations: 36.84 kB / 0.7283 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.4925, allocations: 0 / 0.7283 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004199/0.493, allocations: 189.2 kB / 0.7285 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.355e-05/0.493, allocations: 52.44 kB / 0.7286 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.4931, allocations: 201.3 kB / 0.7288 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.4931, allocations: 30.73 kB / 0.7288 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.4932, allocations: 177.7 kB / 0.7289 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.4932, allocations: 34.66 kB / 0.729 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.4933, allocations: 36.83 kB / 0.729 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.935e-05/0.4933, allocations: 336 kB / 0.7293 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-05/0.4934, allocations: 42.81 kB / 0.7294 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.961e-05/0.4935, allocations: 111.2 kB / 0.7295 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.4936, allocations: 169.5 kB / 0.7296 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4936, allocations: 3.938 kB / 0.7297 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002475/0.4939, allocations: 213.7 kB / 0.7299 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4939, allocations: 5.938 kB / 0.7299 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4939, allocations: 2.75 kB / 0.7299 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/0.4941, allocations: 31.02 kB / 0.7299 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/0.4941, allocations: 38.08 kB / 0.7299 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000649/0.4948, allocations: 1.297 MB / 0.7312 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.949e-05/0.4949, allocations: 23.36 kB / 0.7312 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.4949, allocations: 7.109 kB / 0.7312 GB, free: 15.32 MB / 0.6355 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.0001003/0.495, allocations: 152.5 kB / 0.7314 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.495, allocations: 20.27 kB / 0.7314 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.056e-05/0.495, allocations: 19.78 kB / 0.7314 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.495, allocations: 0.7969 kB / 0.7314 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.495, allocations: 1.062 kB / 0.7314 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.4951, allocations: 23.05 kB / 0.7314 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.4951, allocations: 0.5625 kB / 0.7314 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-05/0.4952, allocations: 11.28 kB / 0.7314 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.4952, allocations: 9.672 kB / 0.7315 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002136/0.4954, allocations: 214.3 kB / 0.7317 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002134/0.4956, allocations: 331.2 kB / 0.732 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.903e-05/0.4957, allocations: 34.94 kB / 0.732 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.257e-05/0.4958, allocations: 140.3 kB / 0.7321 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of Backend: time 4.81e-07/0.4958, allocations: 0 / 0.7321 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008252/0.4966, allocations: 376.8 kB / 0.7325 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0007112/0.4973, allocations: 0.8718 MB / 0.7333 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of Templates: time 0.005922/0.5032, allocations: 2.778 MB / 0.7361 GB, free: 13.36 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.314232520991936] Failed to read output from testmodel.py, exit status != 0: 0.5092931610997766 0.52087986 0.029806756 Calling exit ...