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.0007498/0.0007498, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007915/0.0007915, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8423/0.8423, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.6892/0.6892, allocations: 154.6 MB / 414.5 MB, free: 0.7773 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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.84e-05, allocations: 6.719 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003007/0.003026, allocations: 3.17 MB / 0.6224 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.004434, allocations: 1.375 MB / 0.6237 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.004536, allocations: 7.938 kB / 0.6238 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006064/0.005143, allocations: 330.6 kB / 0.6241 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.005391, allocations: 163 kB / 0.6242 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.005618, allocations: 159.4 kB / 0.6244 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.005903, allocations: 334.7 kB / 0.6247 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005684/0.006472, allocations: 212 kB / 0.6249 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.006685, allocations: 195.5 kB / 0.6251 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.006872, allocations: 135.6 kB / 0.6252 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.006898, allocations: 20 kB / 0.6252 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.007067, allocations: 167.5 kB / 0.6254 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.879e-05/0.007136, allocations: 87.72 kB / 0.6255 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.376e-05/0.007199, allocations: 87.83 kB / 0.6256 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.007524, allocations: 374.8 kB / 0.6259 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.007526, allocations: 0 / 0.6259 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.01e-07/0.007527, allocations: 3.938 kB / 0.6259 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.007532, allocations: 0 / 0.6259 GB, free: 6.391 MB / 0.5886 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.0005763/0.008108, allocations: 481.5 kB / 0.6264 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.00814, allocations: 12.03 kB / 0.6264 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003513/0.008492, allocations: 88.72 kB / 0.6265 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.008708, allocations: 202.9 kB / 0.6267 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.008721, allocations: 12.88 kB / 0.6267 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.008743, allocations: 20.38 kB / 0.6267 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.009093, allocations: 394.8 kB / 0.6271 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.009103, allocations: 8.062 kB / 0.6271 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.009124, allocations: 16.36 kB / 0.6271 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.00915, allocations: 24.42 kB / 0.6271 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.009379, allocations: 209.8 kB / 0.6273 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008221/0.0102, allocations: 1.015 MB / 0.6283 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.01046, allocations: 114.5 kB / 0.6284 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.01051, allocations: 44.83 kB / 0.6285 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.01053, allocations: 3.938 kB / 0.6285 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.01055, allocations: 34.56 kB / 0.6285 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.01055, allocations: 0 / 0.6285 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.000337/0.01088, allocations: 182.4 kB / 0.6287 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.01091, allocations: 55.34 kB / 0.6287 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.01104, allocations: 204.9 kB / 0.6289 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.01105, allocations: 25.7 kB / 0.629 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.01114, allocations: 184.1 kB / 0.6291 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.01115, allocations: 27.75 kB / 0.6292 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.0112, allocations: 41.66 kB / 0.6292 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.01127, allocations: 326.8 kB / 0.6295 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-05/0.01133, allocations: 47.97 kB / 0.6296 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.759e-05/0.01141, allocations: 106.8 kB / 0.6297 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.01155, allocations: 172.3 kB / 0.6298 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01155, allocations: 0 / 0.6298 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002117/0.01177, allocations: 214.1 kB / 0.63 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.01178, allocations: 7.984 kB / 0.63 GB, free: 1.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01179, allocations: 4.281 kB / 0.63 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/0.0119, allocations: 28.84 kB / 0.6301 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.01198, allocations: 36.05 kB / 0.6301 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006666/0.01264, allocations: 1.295 MB / 0.6314 GB, free: 420 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.01271, allocations: 15.92 kB / 0.6314 GB, free: 404 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.01272, allocations: 20.08 kB / 0.6314 GB, free: 384 kB / 0.5886 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 8.28e-05/0.0128, allocations: 142.8 kB / 0.6315 GB, free: 232 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.01282, allocations: 15.91 kB / 0.6315 GB, free: 216 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.01285, allocations: 25.39 kB / 0.6316 GB, free: 188 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.01285, allocations: 3.938 kB / 0.6316 GB, free: 184 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01285, allocations: 0 / 0.6316 GB, free: 184 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01285, allocations: 4 kB / 0.6316 GB, free: 180 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005811/0.01343, allocations: 410.8 kB / 0.632 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01343, allocations: 0 / 0.632 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.01346, allocations: 15.98 kB / 0.632 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-05/0.01351, allocations: 24.84 kB / 0.632 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.01352, allocations: 0 / 0.632 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005176/0.01404, allocations: 1.288 MB / 0.6333 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01404, allocations: 4.094 kB / 0.6333 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.01421, allocations: 244.2 kB / 0.6335 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.01424, allocations: 23.89 kB / 0.6335 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.01425, allocations: 7.938 kB / 0.6335 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.01431, allocations: 4 kB / 0.6335 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.01433, allocations: 11.98 kB / 0.6335 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.01434, allocations: 0 / 0.6335 GB, free: 14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.03e-05/0.01441, allocations: 148.2 kB / 0.6337 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.01441, allocations: 0 / 0.6337 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001968/0.01461, allocations: 59.84 kB / 0.6337 GB, free: 13.79 MB / 0.6042 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 6.833e-05/0.01467, allocations: 99.19 kB / 0.6338 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.01493, allocations: 218.6 kB / 0.6341 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01493, allocations: 4 kB / 0.6341 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.779e-05/0.01503, allocations: 159.4 kB / 0.6342 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.01525, allocations: 35.64 kB / 0.6342 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.01569, allocations: 432.1 kB / 0.6347 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.657e-05/0.01578, allocations: 152.2 kB / 0.6348 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.01581, allocations: 16.5 kB / 0.6348 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.01581, allocations: 0 / 0.6348 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.003091/0.0189, allocations: 3.281 MB / 0.638 GB, free: 9.336 MB / 0.6042 GB " [Timeout remaining time 660] 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: 5.207499292679131] Failed to read output from testmodel.py, exit status != 0: 0.02394577581435442 0.031588566000000005 0.022457299 Calling exit ...