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.001268/0.001268, allocations: 82.8 kB / 19.18 MB, free: 2.363 MB / 14.72 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.001383/0.001383, allocations: 174.8 kB / 22.45 MB, free: 4.988 MB / 14.72 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 1.387/1.387, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 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 1.171/1.171, allocations: 154.7 MB / 413.9 MB, free: 5.18 MB / 382.1 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 178] 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.262e-06/1.262e-06, allocations: 0 / 0.6187 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.279e-05, allocations: 5.891 kB / 0.6187 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.004964/0.004986, allocations: 3.154 MB / 0.6218 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.007337, allocations: 1.386 MB / 0.6232 GB, free: 32 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.007447, allocations: 11.94 kB / 0.6232 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.008511, allocations: 334.5 kB / 0.6235 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.008872, allocations: 155.1 kB / 0.6236 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.00927, allocations: 167.2 kB / 0.6238 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004002/0.00967, allocations: 330.8 kB / 0.6241 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.01006, allocations: 200 kB / 0.6243 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/0.01038, allocations: 195.5 kB / 0.6245 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.01064, allocations: 135.7 kB / 0.6246 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.01068, allocations: 20 kB / 0.6246 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.01096, allocations: 159.5 kB / 0.6248 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.01107, allocations: 87.72 kB / 0.6249 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.01118, allocations: 83.83 kB / 0.625 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004989/0.01168, allocations: 378.8 kB / 0.6253 GB, free: 13.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.01168, allocations: 0 / 0.6253 GB, free: 13.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01168, allocations: 0 / 0.6253 GB, free: 13.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.01169, allocations: 0 / 0.6253 GB, free: 13.82 MB / 0.545 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.0008967/0.01259, allocations: 485.5 kB / 0.6258 GB, free: 13.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.01262, allocations: 8.031 kB / 0.6258 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006415/0.01326, allocations: 96.67 kB / 0.6259 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.01358, allocations: 198.7 kB / 0.6261 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.0136, allocations: 16.88 kB / 0.6261 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.01364, allocations: 20.38 kB / 0.6261 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/0.01421, allocations: 394.8 kB / 0.6265 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.01422, allocations: 192 / 0.6265 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.01424, allocations: 4.375 kB / 0.6265 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.01428, allocations: 28.42 kB / 0.6265 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.01467, allocations: 217.7 kB / 0.6267 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.01607, allocations: 1.011 MB / 0.6277 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.01647, allocations: 126.6 kB / 0.6278 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.464e-05/0.01656, allocations: 36.83 kB / 0.6279 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.01659, allocations: 11.94 kB / 0.6279 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.01662, allocations: 30.56 kB / 0.6279 GB, free: 10.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.01662, allocations: 0 / 0.6279 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0005384/0.01716, allocations: 186.3 kB / 0.6281 GB, free: 10.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.0172, allocations: 55.41 kB / 0.6281 GB, free: 10.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.01741, allocations: 204.9 kB / 0.6283 GB, free: 10.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.01743, allocations: 25.7 kB / 0.6284 GB, free: 10.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.01756, allocations: 188 kB / 0.6285 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.01759, allocations: 31.73 kB / 0.6286 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.01766, allocations: 37.67 kB / 0.6286 GB, free: 10.22 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.0178, allocations: 326.8 kB / 0.6289 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.0179, allocations: 39.98 kB / 0.6289 GB, free: 9.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.01805, allocations: 122.4 kB / 0.6291 GB, free: 9.707 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.0183, allocations: 164.4 kB / 0.6292 GB, free: 9.516 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01831, allocations: 0 / 0.6292 GB, free: 9.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003933/0.0187, allocations: 214.1 kB / 0.6294 GB, free: 9.297 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.01872, allocations: 8 kB / 0.6294 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01872, allocations: 0 / 0.6294 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.01887, allocations: 28.84 kB / 0.6295 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.01901, allocations: 36.2 kB / 0.6295 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.02014, allocations: 1.295 MB / 0.6308 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.02027, allocations: 19.98 kB / 0.6308 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.02028, allocations: 7.938 kB / 0.6308 GB, free: 7.797 MB / 0.545 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.0001489/0.02043, allocations: 151.8 kB / 0.6309 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.02047, allocations: 19.91 kB / 0.631 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.02051, allocations: 21.41 kB / 0.631 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.02051, allocations: 4 kB / 0.631 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.02052, allocations: 8.047 kB / 0.631 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.02052, allocations: 0 / 0.631 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005755/0.0211, allocations: 410.8 kB / 0.6314 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.0211, allocations: 0 / 0.6314 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.411e-05/0.02117, allocations: 11.94 kB / 0.6314 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.977e-05/0.02125, allocations: 28.84 kB / 0.6314 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.02125, allocations: 0 / 0.6314 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.0223, allocations: 1.295 MB / 0.6327 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.0223, allocations: 3.938 kB / 0.6327 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.02262, allocations: 232.7 kB / 0.6329 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.02267, allocations: 20.05 kB / 0.6329 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.02269, allocations: 11.94 kB / 0.6329 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.02281, allocations: 4 kB / 0.6329 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.02285, allocations: 7.984 kB / 0.6329 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.02286, allocations: 4 kB / 0.6329 GB, free: 5.414 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001368/0.023, allocations: 148 kB / 0.6331 GB, free: 5.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.023, allocations: 0 / 0.6331 GB, free: 5.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003237/0.02332, allocations: 59.84 kB / 0.6331 GB, free: 5.211 MB / 0.545 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.0001159/0.02344, allocations: 103.2 kB / 0.6332 GB, free: 5.098 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004329/0.02387, allocations: 222.5 kB / 0.6335 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02387, allocations: 0 / 0.6335 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.02409, allocations: 158.7 kB / 0.6336 GB, free: 4.699 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.02445, allocations: 44.53 kB / 0.6337 GB, free: 4.656 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.0251, allocations: 388.5 kB / 0.634 GB, free: 4.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.02525, allocations: 140.2 kB / 0.6342 GB, free: 4.098 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.745e-05/0.02535, allocations: 25.66 kB / 0.6342 GB, free: 4.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.02539, allocations: 16.48 kB / 0.6342 GB, free: 4.055 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.02539, allocations: 11.94 kB / 0.6342 GB, free: 4.043 MB / 0.545 GB Notification: Performance of Templates: time 0.00532/0.03071, allocations: 1.856 MB / 0.636 GB, free: 2.25 MB / 0.545 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.663693487644196] Failed to read output from testmodel.py, exit status != 0: 0.03902614489197731 0.053783238000000004 0.038610841 Calling exit ...