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.001313/0.001313, allocations: 76.45 kB / 19.9 MB, free: 12 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.001232/0.001232, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9164/0.9164, allocations: 177.2 MB / 203.6 MB, free: 5.746 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.7102/0.7102, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.0009227/0.0009227, allocations: 75.89 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.5185/0.5194, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003787/0.5232, allocations: 3.165 MB / 0.7222 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.5251, allocations: 1.392 MB / 0.7235 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.5253, allocations: 12.47 kB / 0.7235 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007552/0.5261, allocations: 335.4 kB / 0.7239 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.5264, allocations: 159 kB / 0.724 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.5267, allocations: 155.4 kB / 0.7242 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.5271, allocations: 334.6 kB / 0.7245 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.5275, allocations: 201.4 kB / 0.7247 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.5278, allocations: 207.5 kB / 0.7249 GB, free: 20 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.528, allocations: 148.4 kB / 0.725 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.528, allocations: 19.44 kB / 0.725 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.5283, allocations: 158.3 kB / 0.7252 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.5284, allocations: 83.67 kB / 0.7253 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.058e-05/0.5285, allocations: 101.2 kB / 0.7254 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004854/0.529, allocations: 375.9 kB / 0.7257 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.529, allocations: 0 / 0.7257 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.924e-06/0.529, allocations: 1.219 kB / 0.7257 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.529, allocations: 0 / 0.7257 GB, free: 19.67 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.0007606/0.5297, allocations: 487.8 kB / 0.7262 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.5298, allocations: 8.844 kB / 0.7262 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004513/0.5302, allocations: 98.03 kB / 0.7263 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.5305, allocations: 201.6 kB / 0.7265 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.5305, allocations: 15.73 kB / 0.7265 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.5306, allocations: 21.12 kB / 0.7265 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.531, allocations: 399.2 kB / 0.7269 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.531, allocations: 1.312 kB / 0.7269 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.531, allocations: 6.625 kB / 0.7269 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.786e-05/0.5311, allocations: 24.08 kB / 0.7269 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.5313, allocations: 211.8 kB / 0.7271 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009489/0.5323, allocations: 1.011 MB / 0.7281 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.5326, allocations: 125 kB / 0.7282 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.739e-05/0.5327, allocations: 37.81 kB / 0.7283 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.5327, allocations: 2.047 kB / 0.7283 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.5327, allocations: 35.72 kB / 0.7283 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.804e-06/0.5328, allocations: 0 / 0.7283 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004656/0.5332, allocations: 193.6 kB / 0.7285 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.5332, allocations: 53.28 kB / 0.7285 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.5334, allocations: 203.7 kB / 0.7287 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.5334, allocations: 27.33 kB / 0.7288 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.671e-05/0.5335, allocations: 177.4 kB / 0.7289 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.5335, allocations: 30.97 kB / 0.729 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.5336, allocations: 37.48 kB / 0.729 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.143e-05/0.5336, allocations: 331.1 kB / 0.7293 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.391e-05/0.5337, allocations: 43.59 kB / 0.7293 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.5338, allocations: 107.1 kB / 0.7295 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.534, allocations: 168.8 kB / 0.7296 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.534, allocations: 9.031 kB / 0.7296 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002833/0.5343, allocations: 216.5 kB / 0.7298 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.5343, allocations: 6.688 kB / 0.7298 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.5343, allocations: 2.125 kB / 0.7298 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.5345, allocations: 31.53 kB / 0.7299 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.875e-05/0.5346, allocations: 33.64 kB / 0.7299 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006676/0.5352, allocations: 1.302 MB / 0.7312 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.5353, allocations: 23.69 kB / 0.7312 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.5353, allocations: 11.22 kB / 0.7312 GB, free: 15.28 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 9.433e-05/0.5354, allocations: 141.8 kB / 0.7313 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.5355, allocations: 23.84 kB / 0.7314 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.5355, allocations: 20.78 kB / 0.7314 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5355, allocations: 0 / 0.7314 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5355, allocations: 0.8125 kB / 0.7314 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5355, allocations: 1.797 kB / 0.7314 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.5359, allocations: 405.6 kB / 0.7318 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5359, allocations: 1.891 kB / 0.7318 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.5359, allocations: 10.41 kB / 0.7318 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.92e-05/0.536, allocations: 32.98 kB / 0.7318 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.536, allocations: 1.062 kB / 0.7318 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000549/0.5365, allocations: 1.296 MB / 0.7331 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5365, allocations: 3.938 kB / 0.7331 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.5368, allocations: 237.8 kB / 0.7333 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.5368, allocations: 27.27 kB / 0.7333 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.5368, allocations: 8.156 kB / 0.7333 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.5369, allocations: 7.281 kB / 0.7334 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.5369, allocations: 5.875 kB / 0.7334 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.5369, allocations: 2.828 kB / 0.7334 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.885e-05/0.537, allocations: 145.2 kB / 0.7335 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.537, allocations: 0 / 0.7335 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002416/0.5373, allocations: 56.89 kB / 0.7336 GB, free: 13.23 MB / 0.6355 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 9.871e-05/0.5374, allocations: 98.94 kB / 0.7336 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003583/0.5377, allocations: 229.3 kB / 0.7339 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5377, allocations: 1.062 kB / 0.7339 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.5378, allocations: 158.7 kB / 0.734 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.5381, allocations: 44.23 kB / 0.7341 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.5386, allocations: 416.8 kB / 0.7345 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.5388, allocations: 144 kB / 0.7346 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.803e-05/0.5388, allocations: 22.66 kB / 0.7346 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.5389, allocations: 16.12 kB / 0.7346 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.5389, allocations: 5.375 kB / 0.7346 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of Templates: time 0.004882/0.5438, allocations: 1.856 MB / 0.7364 GB, free: 12.27 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.352005777996965] Failed to read output from testmodel.py, exit status != 0: 0.5499895740067586 0.5633529669999999 0.031557998000000004 Calling exit ...