Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001561/0.001561, allocations: 82.64 kB / 19.94 MB, free: 1.777 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.002166/0.002166, allocations: 165.2 kB / 23.22 MB, free: 4.902 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.401/1.401, allocations: 177.1 MB / 203.5 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8893/0.8893, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5547 GB, free: 2.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.337e-05, allocations: 4.953 kB / 0.5547 GB, free: 2.66 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006111/0.006144, allocations: 3.566 MB / 0.5581 GB, free: 15.08 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00365/0.009794, allocations: 1.769 MB / 0.5599 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004419/0.01024, allocations: 23.81 kB / 0.5599 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.0113, allocations: 266.2 kB / 0.5602 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009335/0.01223, allocations: 330.1 kB / 0.5605 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007134/0.01295, allocations: 243.3 kB / 0.5607 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009896/0.01394, allocations: 0.6322 MB / 0.5613 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005312/0.01447, allocations: 230.6 kB / 0.5615 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007229/0.01519, allocations: 343.2 kB / 0.5619 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004661/0.01566, allocations: 199.4 kB / 0.5621 GB, free: 11.06 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.574e-05/0.01573, allocations: 28 kB / 0.5621 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005393/0.01627, allocations: 255.2 kB / 0.5623 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.01646, allocations: 127.6 kB / 0.5624 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.0167, allocations: 139.7 kB / 0.5626 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.01772, allocations: 0.6074 MB / 0.5632 GB, free: 9.914 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.01773, allocations: 0 / 0.5632 GB, free: 9.914 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01773, allocations: 0 / 0.5632 GB, free: 9.914 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.01774, allocations: 0 / 0.5632 GB, free: 9.914 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001441/0.01919, allocations: 0.6604 MB / 0.5638 GB, free: 9.223 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.01923, allocations: 8.625 kB / 0.5638 GB, free: 9.215 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.02024, allocations: 144.4 kB / 0.564 GB, free: 9.074 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007086/0.02095, allocations: 344.6 kB / 0.5643 GB, free: 8.711 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.02098, allocations: 21.03 kB / 0.5643 GB, free: 8.691 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.02104, allocations: 36.34 kB / 0.5643 GB, free: 8.656 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.02204, allocations: 0.6272 MB / 0.565 GB, free: 7.938 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.02207, allocations: 3.938 kB / 0.565 GB, free: 7.934 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.02211, allocations: 16 kB / 0.565 GB, free: 7.918 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.496e-05/0.02218, allocations: 40.62 kB / 0.565 GB, free: 7.879 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008166/0.023, allocations: 406.1 kB / 0.5654 GB, free: 7.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/0.02605, allocations: 2.683 MB / 0.568 GB, free: 4.684 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/0.02675, allocations: 311.6 kB / 0.5683 GB, free: 4.371 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.02705, allocations: 160.7 kB / 0.5685 GB, free: 4.211 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.02707, allocations: 4 kB / 0.5685 GB, free: 4.207 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.02711, allocations: 46.48 kB / 0.5685 GB, free: 4.152 MB / 478.1 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.02711, allocations: 4 kB / 0.5685 GB, free: 4.148 MB / 478.1 MB Notification: Performance of matching and sorting (n=27): time 0.002149/0.02926, allocations: 0.8288 MB / 0.5693 GB, free: 3.305 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.02932, allocations: 63.52 kB / 0.5694 GB, free: 3.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.02968, allocations: 341.4 kB / 0.5697 GB, free: 2.891 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.02971, allocations: 29.7 kB / 0.5698 GB, free: 2.855 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.02995, allocations: 248.1 kB / 0.57 GB, free: 2.609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.537e-05/0.03004, allocations: 95.2 kB / 0.5701 GB, free: 2.516 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.03016, allocations: 86.09 kB / 0.5702 GB, free: 2.426 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.03033, allocations: 338.8 kB / 0.5705 GB, free: 2.086 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.03062, allocations: 148.9 kB / 0.5706 GB, free: 1.938 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.03101, allocations: 293.8 kB / 0.5709 GB, free: 1.594 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007402/0.03175, allocations: 479.9 kB / 0.5714 GB, free: 1.062 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.03176, allocations: 0 / 0.5714 GB, free: 1.062 MB / 478.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001098/0.03285, allocations: 0.5639 MB / 0.5719 GB, free: 496 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.03287, allocations: 12.12 kB / 0.5719 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.03288, allocations: 4 kB / 0.5719 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/0.0332, allocations: 86.5 kB / 0.572 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.03354, allocations: 83.89 kB / 0.5721 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.03356, allocations: 15.92 kB / 0.5721 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.03382, allocations: 23.97 kB / 0.5721 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.03385, allocations: 20 kB / 0.5721 GB, free: 240 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002066/0.03406, allocations: 186.3 kB / 0.5723 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.03414, allocations: 43.8 kB / 0.5724 GB, free: 16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009575/0.0351, allocations: 468.4 kB / 0.5728 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.0351, allocations: 0 / 0.5728 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.03511, allocations: 7.984 kB / 0.5728 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.03512, allocations: 0 / 0.5728 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.03657, allocations: 0.8457 MB / 0.5736 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.03658, allocations: 0 / 0.5736 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.03682, allocations: 47.91 kB / 0.5737 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002473/0.03706, allocations: 82.5 kB / 0.5738 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.03709, allocations: 4 kB / 0.5738 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.03709, allocations: 4 kB / 0.5738 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.03709, allocations: 3.938 kB / 0.5738 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008859/0.03798, allocations: 0.547 MB / 0.5743 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.03811, allocations: 71.62 kB / 0.5744 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.03817, allocations: 7.938 kB / 0.5744 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.03842, allocations: 23.97 kB / 0.5744 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.03849, allocations: 23.89 kB / 0.5744 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.03851, allocations: 12 kB / 0.5745 GB, free: 13.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.03873, allocations: 223.2 kB / 0.5747 GB, free: 13.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03873, allocations: 0 / 0.5747 GB, free: 13.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004247/0.03915, allocations: 88 kB / 0.5747 GB, free: 13.45 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001348/0.03929, allocations: 111.1 kB / 0.5749 GB, free: 13.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009387/0.04023, allocations: 399.2 kB / 0.5752 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.04023, allocations: 0 / 0.5752 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.04062, allocations: 190.4 kB / 0.5754 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.04131, allocations: 119.3 kB / 0.5755 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.04246, allocations: 0.7055 MB / 0.5762 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.04268, allocations: 216.1 kB / 0.5764 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002255/0.04291, allocations: 79.3 kB / 0.5765 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.64e-05/0.04299, allocations: 32.5 kB / 0.5765 GB, free: 11.55 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.04299, allocations: 3.938 kB / 0.5765 GB, free: 11.54 MB / 494.1 MB Notification: Performance of Templates: time 0.009997/0.05299, allocations: 4.773 MB / 0.5812 GB, free: 6.938 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.259560741484165] Failed to read output from testmodel.py, exit status != 0: 0.0622401162981987 0.07655547 0.055706526000000006 Calling exit ...