Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001366/0.001366, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.00116/0.00116, allocations: 169.2 kB / 24.96 MB, free: 8.656 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.9654/0.9654, allocations: 177.1 MB / 205.4 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.818/1.818, allocations: 389.6 MB / 0.6361 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.776 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.197e-05, allocations: 2.312 kB / 0.776 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003261/0.003283, allocations: 3.138 MB / 0.779 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.004856, allocations: 1.145 MB / 0.7801 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.005013, allocations: 23.75 kB / 0.7802 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.005454, allocations: 115.2 kB / 0.7803 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.005773, allocations: 244.2 kB / 0.7805 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.006033, allocations: 213.3 kB / 0.7807 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007851/0.006819, allocations: 0.6322 MB / 0.7813 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.007114, allocations: 247.3 kB / 0.7816 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.007471, allocations: 344.5 kB / 0.7819 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.007723, allocations: 212 kB / 0.7821 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.007759, allocations: 29.12 kB / 0.7821 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.007902, allocations: 91.86 kB / 0.7822 GB, free: 15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/0.007991, allocations: 123.6 kB / 0.7823 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.853e-05/0.008089, allocations: 145.3 kB / 0.7825 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.008405, allocations: 366.5 kB / 0.7828 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.008406, allocations: 0 / 0.7828 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.41e-07/0.008407, allocations: 0 / 0.7828 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.008412, allocations: 0.7812 kB / 0.7828 GB, free: 14.38 MB / 0.7448 GB 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.0006029/0.009015, allocations: 0.6068 MB / 0.7834 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.00905, allocations: 13.34 kB / 0.7834 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.009464, allocations: 129.6 kB / 0.7835 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.009804, allocations: 338.8 kB / 0.7839 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.00982, allocations: 21.03 kB / 0.7839 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.009857, allocations: 32.36 kB / 0.7839 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.01025, allocations: 494.2 kB / 0.7844 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.01026, allocations: 5.125 kB / 0.7844 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.01028, allocations: 12 kB / 0.7844 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/0.01033, allocations: 44.56 kB / 0.7845 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.01049, allocations: 151.3 kB / 0.7846 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.01176, allocations: 2.361 MB / 0.7869 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.012, allocations: 215.9 kB / 0.7871 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.01206, allocations: 48.83 kB / 0.7872 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.01208, allocations: 7.938 kB / 0.7872 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.01211, allocations: 42.56 kB / 0.7872 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 2.124e-06/0.01211, allocations: 0 / 0.7872 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0006631/0.01277, allocations: 361 kB / 0.7875 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.0128, allocations: 55.64 kB / 0.7876 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.01329, allocations: 311.3 kB / 0.7879 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.01331, allocations: 30.61 kB / 0.7879 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.885e-05/0.0134, allocations: 228.6 kB / 0.7881 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.01345, allocations: 99.81 kB / 0.7882 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.01352, allocations: 78.11 kB / 0.7883 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.458e-05/0.0136, allocations: 355.4 kB / 0.7887 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.738e-05/0.01365, allocations: 40.98 kB / 0.7887 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.01376, allocations: 188.6 kB / 0.7889 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.01397, allocations: 281.8 kB / 0.7891 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01397, allocations: 0.5 kB / 0.7891 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003078/0.01428, allocations: 322.4 kB / 0.7894 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.01429, allocations: 5.562 kB / 0.7895 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.0143, allocations: 8 kB / 0.7895 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.01444, allocations: 63.02 kB / 0.7895 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.01461, allocations: 83.83 kB / 0.7896 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.01462, allocations: 9.812 kB / 0.7896 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.336e-05/0.01471, allocations: 19.98 kB / 0.7896 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.01473, allocations: 12 kB / 0.7896 GB, free: 6.949 MB / 0.7448 GB 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 8.862e-05/0.01481, allocations: 138 kB / 0.7898 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.01485, allocations: 35.91 kB / 0.7898 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.01512, allocations: 236.6 kB / 0.79 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01513, allocations: 5.281 kB / 0.79 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.01513, allocations: 3.938 kB / 0.79 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.01513, allocations: 7.922 kB / 0.79 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.01562, allocations: 0.5147 MB / 0.7906 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01562, allocations: 0 / 0.7906 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.01573, allocations: 47.91 kB / 0.7906 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-05/0.01583, allocations: 60.27 kB / 0.7907 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.01584, allocations: 9.031 kB / 0.7907 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01584, allocations: 0 / 0.7907 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01584, allocations: 0 / 0.7907 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.0161, allocations: 372.5 kB / 0.791 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.01616, allocations: 51.69 kB / 0.7911 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.01618, allocations: 8.797 kB / 0.7911 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/0.01626, allocations: 8 kB / 0.7911 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.01631, allocations: 24.98 kB / 0.7911 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.01632, allocations: 11.98 kB / 0.7911 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.202e-05/0.01639, allocations: 116.7 kB / 0.7912 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01639, allocations: 0.9375 kB / 0.7912 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002101/0.0166, allocations: 88 kB / 0.7913 GB, free: 5.113 MB / 0.7448 GB 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 9.284e-05/0.01669, allocations: 90.5 kB / 0.7914 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.01696, allocations: 205.1 kB / 0.7916 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.01697, allocations: 5.031 kB / 0.7916 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.01708, allocations: 115.5 kB / 0.7917 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.01745, allocations: 132.3 kB / 0.7918 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008187/0.01826, allocations: 0.6685 MB / 0.7925 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.367e-05/0.01834, allocations: 122.5 kB / 0.7926 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.01845, allocations: 48.59 kB / 0.7927 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.01863, allocations: 138.3 kB / 0.7928 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.01863, allocations: 0 / 0.7928 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of Templates: time 0.007112/0.02574, allocations: 5.112 MB / 0.7978 GB, free: 14.64 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.937412963248789]