Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.001776/0.001776, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002241/0.002241, allocations: 216.3 kB / 23 MB, free: 4.969 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.287/3.287, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") [Timeout 300] "Notification: Buildings 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.002089/0.002089, allocations: 67.69 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3778, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.008721/0.3865, allocations: 3.331 MB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005383/0.3919, allocations: 2.127 MB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.3922, allocations: 7.938 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.3935, allocations: 298.9 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008183/0.3943, allocations: 238.8 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.3955, allocations: 301.2 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006598/0.3961, allocations: 402.6 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004899/0.3966, allocations: 172.8 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/0.397, allocations: 159.4 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.3974, allocations: 191.3 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.3975, allocations: 28 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009169/0.3984, allocations: 411.2 kB / 1.335 GB, free: 9.379 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.3986, allocations: 95.72 kB / 1.335 GB, free: 9.285 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.3987, allocations: 123.4 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009323/0.3997, allocations: 0.5255 MB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.3997, allocations: 0 / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.066e-06/0.3997, allocations: 0 / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.3997, allocations: 0 / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001388/0.4011, allocations: 0.5514 MB / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.4011, allocations: 8.031 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009605/0.4021, allocations: 128.6 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.4026, allocations: 226.5 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.4026, allocations: 12.81 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.4027, allocations: 20.38 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008911/0.4035, allocations: 0.4899 MB / 1.337 GB, free: 7.098 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.4036, allocations: 0 / 1.337 GB, free: 7.098 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.4036, allocations: 12 kB / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.157e-05/0.4037, allocations: 36.47 kB / 1.337 GB, free: 7.051 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006915/0.4044, allocations: 345.6 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002898/0.4073, allocations: 1.495 MB / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.4083, allocations: 356.9 kB / 1.339 GB, free: 4.785 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004255/0.4088, allocations: 177.6 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.4089, allocations: 15.98 kB / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.4089, allocations: 34.56 kB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 2.726e-06/0.4089, allocations: 0 / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.005538/0.4144, allocations: 1.529 MB / 1.341 GB, free: 3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.4145, allocations: 81.39 kB / 1.341 GB, free: 2.902 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.4148, allocations: 232.8 kB / 1.341 GB, free: 2.664 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/0.4149, allocations: 33.7 kB / 1.341 GB, free: 2.625 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.415, allocations: 188.3 kB / 1.341 GB, free: 2.438 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.4151, allocations: 119 kB / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.4153, allocations: 90.11 kB / 1.341 GB, free: 2.223 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4155, allocations: 338.8 kB / 1.342 GB, free: 1.883 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/0.4159, allocations: 206.4 kB / 1.342 GB, free: 1.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.4164, allocations: 330.8 kB / 1.342 GB, free: 1.309 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009453/0.4174, allocations: 0.5345 MB / 1.343 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4174, allocations: 0 / 1.343 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00142/0.4188, allocations: 0.6566 MB / 1.343 GB, free: 56 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4188, allocations: 4 kB / 1.343 GB, free: 52 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4188, allocations: 4 kB / 1.343 GB, free: 48 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005815/0.4194, allocations: 147.4 kB / 1.343 GB, free: 15.89 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.4199, allocations: 96.03 kB / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.4234, allocations: 3.91 MB / 1.347 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.4238, allocations: 35.98 kB / 1.347 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.4239, allocations: 16 kB / 1.347 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005797/0.4245, allocations: 324.8 kB / 1.348 GB, free: 11.25 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005083/0.425, allocations: 338.8 kB / 1.348 GB, free: 10.88 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009517/0.4259, allocations: 0.5192 MB / 1.348 GB, free: 10.31 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/0.4259, allocations: 4 kB / 1.348 GB, free: 10.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001406/0.4273, allocations: 0.6563 MB / 1.349 GB, free: 9.633 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4273, allocations: 8 kB / 1.349 GB, free: 9.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4274, allocations: 3.984 kB / 1.349 GB, free: 9.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/0.4278, allocations: 147.7 kB / 1.349 GB, free: 9.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.4283, allocations: 95.86 kB / 1.349 GB, free: 9.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/0.4317, allocations: 3.915 MB / 1.353 GB, free: 5.199 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/0.4321, allocations: 31.97 kB / 1.353 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.4322, allocations: 23.98 kB / 1.353 GB, free: 5.145 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002216/0.4324, allocations: 196.5 kB / 1.353 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.4325, allocations: 39.75 kB / 1.353 GB, free: 4.906 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.434, allocations: 0.6128 MB / 1.354 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.434, allocations: 4 kB / 1.354 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.434, allocations: 3.938 kB / 1.354 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.4342, allocations: 67.73 kB / 1.354 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.4342, allocations: 11.95 kB / 1.354 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.4346, allocations: 27.97 kB / 1.354 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.4347, allocations: 27.94 kB / 1.354 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00167/0.4363, allocations: 0.7878 MB / 1.355 GB, free: 3.332 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001527/0.4379, allocations: 0.9834 MB / 1.356 GB, free: 2.332 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004133/0.4383, allocations: 212.3 kB / 1.356 GB, free: 2.125 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001902/0.4385, allocations: 168.5 kB / 1.356 GB, free: 1.957 MB / 1.045 GB Notification: Performance of Backend: time 3.2e-07/0.4385, allocations: 0 / 1.356 GB, free: 1.957 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003034/0.4415, allocations: 1.317 MB / 1.358 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of SimCode: time 0.001612/0.4431, allocations: 1.122 MB / 1.359 GB, free: 15.41 MB / 1.061 GB Notification: Performance of Templates: time 0.0186/0.4617, allocations: 10.19 MB / 1.369 GB, free: 5.312 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 9.517421186996216] Failed to read output from testmodel.py, exit status != 0: 0.47036986500461353 0.48496711899999995 0.082003135 Calling exit ...