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.0006922/0.0006922, 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.000729/0.000729, 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.8091/0.8091, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.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.6752/0.6752, allocations: 154.6 MB / 414.5 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.6192 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.268e-05, allocations: 6.281 kB / 0.6192 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.002781/0.002794, allocations: 3.167 MB / 0.6223 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.004402, allocations: 1.379 MB / 0.6237 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.675e-05/0.004499, allocations: 11.94 kB / 0.6237 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005603/0.005059, allocations: 330.6 kB / 0.624 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.005305, allocations: 167 kB / 0.6242 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.005553, allocations: 162.7 kB / 0.6243 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.005814, allocations: 338.7 kB / 0.6246 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.006095, allocations: 196 kB / 0.6248 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.006303, allocations: 203.5 kB / 0.625 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.006473, allocations: 139.6 kB / 0.6252 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.006498, allocations: 20 kB / 0.6252 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.006671, allocations: 159.5 kB / 0.6253 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.006737, allocations: 83.8 kB / 0.6254 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.006802, allocations: 87.77 kB / 0.6255 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.007109, allocations: 378.8 kB / 0.6259 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.007111, allocations: 0 / 0.6259 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.31e-07/0.007112, allocations: 0 / 0.6259 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.007116, allocations: 0 / 0.6259 GB, free: 6.434 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.0005405/0.007656, allocations: 481.4 kB / 0.6263 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.007687, allocations: 13.47 kB / 0.6263 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000339/0.008026, allocations: 92.7 kB / 0.6264 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.008236, allocations: 199 kB / 0.6266 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.008251, allocations: 12.88 kB / 0.6266 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.008272, allocations: 20.38 kB / 0.6266 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.008611, allocations: 394.8 kB / 0.627 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.008622, allocations: 192 / 0.627 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.008639, allocations: 12.31 kB / 0.627 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.008662, allocations: 28.42 kB / 0.6271 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.008882, allocations: 209.8 kB / 0.6273 GB, free: 4.91 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.009671, allocations: 1.015 MB / 0.6282 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.009908, allocations: 126.5 kB / 0.6284 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.009958, allocations: 44.83 kB / 0.6284 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.009969, allocations: 3.938 kB / 0.6284 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.009986, allocations: 34.56 kB / 0.6284 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.009987, allocations: 0 / 0.6284 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003107/0.0103, allocations: 190.3 kB / 0.6286 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.01032, allocations: 51.41 kB / 0.6287 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.01044, allocations: 201.8 kB / 0.6289 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.01045, allocations: 25.7 kB / 0.6289 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.01052, allocations: 180.1 kB / 0.6291 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.01054, allocations: 31.73 kB / 0.6291 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.01058, allocations: 37.67 kB / 0.6291 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.01065, allocations: 326.8 kB / 0.6294 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.373e-05/0.0107, allocations: 43.98 kB / 0.6295 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.816e-05/0.01078, allocations: 123.1 kB / 0.6296 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.01092, allocations: 164.4 kB / 0.6298 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01092, allocations: 0 / 0.6298 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002021/0.01113, allocations: 214.1 kB / 0.63 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.01113, allocations: 4 kB / 0.63 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.01114, allocations: 4 kB / 0.63 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001068/0.01125, allocations: 24.84 kB / 0.63 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.01132, allocations: 36.3 kB / 0.63 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008268/0.01214, allocations: 1.307 MB / 0.6313 GB, free: 460 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.01221, allocations: 15.89 kB / 0.6313 GB, free: 444 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.01221, allocations: 7.984 kB / 0.6313 GB, free: 436 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 7.987e-05/0.01229, allocations: 150.9 kB / 0.6315 GB, free: 276 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.01232, allocations: 19.91 kB / 0.6315 GB, free: 256 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.835e-05/0.01233, allocations: 25.39 kB / 0.6315 GB, free: 228 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.01233, allocations: 0 / 0.6315 GB, free: 228 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01234, allocations: 0 / 0.6315 GB, free: 228 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.01234, allocations: 0 / 0.6315 GB, free: 228 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.01266, allocations: 414.8 kB / 0.6319 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01267, allocations: 0 / 0.6319 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.01269, allocations: 12 kB / 0.6319 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.745e-05/0.01274, allocations: 24.84 kB / 0.6319 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.01275, allocations: 4 kB / 0.6319 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005189/0.01327, allocations: 1.295 MB / 0.6332 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01327, allocations: 3.938 kB / 0.6332 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.01342, allocations: 228.3 kB / 0.6334 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.01345, allocations: 24.05 kB / 0.6335 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.01346, allocations: 11.94 kB / 0.6335 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-05/0.01352, allocations: 11.92 kB / 0.6335 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.01354, allocations: 4 kB / 0.6335 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.01355, allocations: 11.98 kB / 0.6335 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.839e-05/0.01362, allocations: 139.3 kB / 0.6336 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01362, allocations: 0 / 0.6336 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000195/0.01381, allocations: 59.84 kB / 0.6337 GB, free: 13.83 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.403e-05/0.01388, allocations: 103.2 kB / 0.6338 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.01412, allocations: 222.5 kB / 0.634 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01412, allocations: 0 / 0.634 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.454e-05/0.01422, allocations: 158.7 kB / 0.6341 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.01443, allocations: 32.53 kB / 0.6342 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.01485, allocations: 424.3 kB / 0.6346 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.518e-05/0.01493, allocations: 148.2 kB / 0.6347 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.01496, allocations: 20.44 kB / 0.6347 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/0.01497, allocations: 0 / 0.6347 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.003164/0.01813, allocations: 3.281 MB / 0.6379 GB, free: 9.379 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.247210005298257] Failed to read output from testmodel.py, exit status != 0: 0.02221524529159069 0.029457960000000002 0.020693934 Calling exit ...