Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.0007981/0.0007981, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.001974, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007768/0.0007768, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001882, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9532/0.9532, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09435/1.048, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.925/1.925, allocations: 390 MB / 0.6193 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4712/2.396, allocations: 127.1 MB / 0.7435 GB, free: 4.535 MB / 0.7136 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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.7448 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.43e-05, allocations: 4.281 kB / 0.7448 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005382/0.005406, allocations: 3.842 MB / 0.7486 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002764/0.00817, allocations: 1.439 MB / 0.75 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.008467, allocations: 35.62 kB / 0.75 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005434/0.009011, allocations: 187.7 kB / 0.7502 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0006872/0.009698, allocations: 379.6 kB / 0.7505 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006235/0.01032, allocations: 322.9 kB / 0.7508 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00107/0.01139, allocations: 0.972 MB / 0.7518 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005077/0.0119, allocations: 310.5 kB / 0.7521 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007598/0.01266, allocations: 0.522 MB / 0.7526 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005341/0.01319, allocations: 335 kB / 0.7529 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.872e-05/0.01326, allocations: 38.88 kB / 0.753 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.01352, allocations: 103.8 kB / 0.753 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.0137, allocations: 175.4 kB / 0.7532 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.0139, allocations: 171.6 kB / 0.7534 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.01447, allocations: 482.1 kB / 0.7538 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/0.01448, allocations: 0 / 0.7538 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.91e-07/0.01448, allocations: 4 kB / 0.7538 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.0145, allocations: 0 / 0.7538 GB, free: 9.992 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001143/0.01564, allocations: 0.9468 MB / 0.7548 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.01567, allocations: 12.03 kB / 0.7548 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005413/0.01621, allocations: 265.6 kB / 0.755 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.01667, allocations: 481.2 kB / 0.7555 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.01669, allocations: 37.36 kB / 0.7555 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/0.01674, allocations: 48.31 kB / 0.7556 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.0172, allocations: 0.7233 MB / 0.7563 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.01722, allocations: 8.125 kB / 0.7563 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.01725, allocations: 25.95 kB / 0.7563 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.089e-05/0.01731, allocations: 68.89 kB / 0.7564 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.01753, allocations: 239.9 kB / 0.7566 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.01947, allocations: 4.163 MB / 0.7607 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.01977, allocations: 283.6 kB / 0.7609 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.039e-05/0.01984, allocations: 60.84 kB / 0.761 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.01986, allocations: 8 kB / 0.761 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.01988, allocations: 31.09 kB / 0.761 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.01988, allocations: 0.9062 kB / 0.761 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0008231/0.0207, allocations: 0.503 MB / 0.7615 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.02073, allocations: 56.53 kB / 0.7616 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.02094, allocations: 450.9 kB / 0.762 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.02096, allocations: 30.64 kB / 0.762 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.02107, allocations: 325.2 kB / 0.7624 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.02112, allocations: 122.9 kB / 0.7625 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.0212, allocations: 103 kB / 0.7626 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.02129, allocations: 370.6 kB / 0.7629 GB, free: 232 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/0.02135, allocations: 63.09 kB / 0.763 GB, free: 172 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.02153, allocations: 311.3 kB / 0.7633 GB, free: 15.75 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.02187, allocations: 479.4 kB / 0.7637 GB, free: 15.17 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.02188, allocations: 7.938 kB / 0.7637 GB, free: 15.16 MB / 0.7449 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004377/0.02232, allocations: 478.8 kB / 0.7642 GB, free: 14.68 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.02233, allocations: 12.62 kB / 0.7642 GB, free: 14.66 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.02234, allocations: 8 kB / 0.7642 GB, free: 14.66 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002414/0.02258, allocations: 130.9 kB / 0.7643 GB, free: 14.51 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.02281, allocations: 123.8 kB / 0.7645 GB, free: 14.39 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.02433, allocations: 3.589 MB / 0.768 GB, free: 10.52 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.02448, allocations: 20 kB / 0.768 GB, free: 10.5 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.0245, allocations: 25.03 kB / 0.768 GB, free: 10.48 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.02461, allocations: 158 kB / 0.7682 GB, free: 10.31 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.02466, allocations: 48.97 kB / 0.7682 GB, free: 10.27 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.02498, allocations: 316.8 kB / 0.7685 GB, free: 9.93 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.02499, allocations: 4 kB / 0.7685 GB, free: 9.926 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.02499, allocations: 0.9375 kB / 0.7685 GB, free: 9.926 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.02499, allocations: 3.984 kB / 0.7685 GB, free: 9.922 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006183/0.02561, allocations: 0.6792 MB / 0.7692 GB, free: 9.176 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02562, allocations: 4 kB / 0.7692 GB, free: 9.172 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.02573, allocations: 47.91 kB / 0.7692 GB, free: 9.125 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/0.02581, allocations: 76.53 kB / 0.7693 GB, free: 9.051 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001908/0.026, allocations: 120.8 kB / 0.7694 GB, free: 8.914 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.02601, allocations: 5.5 kB / 0.7694 GB, free: 8.91 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.0275, allocations: 3.6 MB / 0.7729 GB, free: 5.023 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.0275, allocations: 4 kB / 0.7729 GB, free: 5.02 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.02784, allocations: 464 kB / 0.7734 GB, free: 4.508 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.02787, allocations: 8 kB / 0.7734 GB, free: 4.5 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.02797, allocations: 11.98 kB / 0.7734 GB, free: 4.488 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.02801, allocations: 40.62 kB / 0.7734 GB, free: 4.449 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.02802, allocations: 16 kB / 0.7735 GB, free: 4.434 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.0001066/0.02813, allocations: 185.4 kB / 0.7736 GB, free: 4.254 MB / 0.7449 GB Notification: Performance of sort global known variables: time 1.61e-07/0.02813, allocations: 0 / 0.7736 GB, free: 4.254 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0003125/0.02844, allocations: 136 kB / 0.7738 GB, free: 4.121 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (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 9.821e-05/0.02854, allocations: 95.33 kB / 0.7739 GB, free: 4.023 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0005156/0.02905, allocations: 0.6316 MB / 0.7745 GB, free: 3.352 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/0.02907, allocations: 20.47 kB / 0.7745 GB, free: 3.332 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.02939, allocations: 488 kB / 0.775 GB, free: 2.812 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008814/0.03027, allocations: 1.823 MB / 0.7767 GB, free: 0.6328 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.03245, allocations: 0.9896 MB / 0.7777 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.657e-05/0.03254, allocations: 154.6 kB / 0.7779 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.03268, allocations: 73.19 kB / 0.7779 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.0329, allocations: 181.2 kB / 0.7781 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of SimCode: time 6.21e-07/0.03291, allocations: 0 / 0.7781 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of Templates: time 0.009771/0.04268, allocations: 8.584 MB / 0.7865 GB, free: 6.848 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.952481005340815]