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.001292/0.001292, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001446/0.001446, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9408/0.9408, allocations: 177.2 MB / 204.6 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.885/1.885, allocations: 389.6 MB / 0.6354 GB, free: 12.27 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.373e-06/1.373e-06, allocations: 0 / 0.7752 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.743e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004505/0.004523, allocations: 3.123 MB / 0.7782 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.006513, allocations: 1.149 MB / 0.7794 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.006706, allocations: 27.69 kB / 0.7794 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005143/0.00722, allocations: 119.2 kB / 0.7795 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004611/0.007681, allocations: 246.8 kB / 0.7797 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.008055, allocations: 210.3 kB / 0.7799 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006337/0.008689, allocations: 0.6283 MB / 0.7806 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006552/0.009344, allocations: 254.4 kB / 0.7808 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004776/0.009821, allocations: 338 kB / 0.7811 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/0.01016, allocations: 215.3 kB / 0.7813 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.01019, allocations: 28 kB / 0.7814 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.01033, allocations: 95.84 kB / 0.7814 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.531e-05/0.01043, allocations: 119.6 kB / 0.7816 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.01053, allocations: 143.6 kB / 0.7817 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.01085, allocations: 368.3 kB / 0.7821 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01085, allocations: 0 / 0.7821 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.51e-07/0.01085, allocations: 0 / 0.7821 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.01086, allocations: 0 / 0.7821 GB, free: 14.33 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.0005874/0.01145, allocations: 0.6113 MB / 0.7826 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.01148, allocations: 9.344 kB / 0.7827 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004347/0.01191, allocations: 128.7 kB / 0.7828 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.01225, allocations: 338.8 kB / 0.7831 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.01227, allocations: 26.66 kB / 0.7831 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.01231, allocations: 32.36 kB / 0.7832 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.01273, allocations: 489.8 kB / 0.7836 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.01275, allocations: 4 kB / 0.7836 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.01278, allocations: 12.88 kB / 0.7836 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-05/0.01285, allocations: 40.62 kB / 0.7837 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.01304, allocations: 150.9 kB / 0.7838 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.01443, allocations: 2.365 MB / 0.7861 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.0147, allocations: 212.9 kB / 0.7863 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.538e-05/0.01476, allocations: 52.77 kB / 0.7864 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.01479, allocations: 9.188 kB / 0.7864 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.01481, allocations: 34.56 kB / 0.7864 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 1.433e-06/0.01481, allocations: 0 / 0.7864 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0006924/0.0155, allocations: 362.9 kB / 0.7868 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.01553, allocations: 56.77 kB / 0.7868 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.0157, allocations: 307.3 kB / 0.7871 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.01572, allocations: 29.7 kB / 0.7872 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.01581, allocations: 234.1 kB / 0.7874 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/0.01586, allocations: 107 kB / 0.7875 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.01594, allocations: 78.05 kB / 0.7876 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.01603, allocations: 354.7 kB / 0.7879 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.064e-05/0.01608, allocations: 46.45 kB / 0.7879 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.01621, allocations: 180 kB / 0.7881 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.01641, allocations: 286.3 kB / 0.7884 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01642, allocations: 0 / 0.7884 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003294/0.01675, allocations: 316.5 kB / 0.7887 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.01676, allocations: 8 kB / 0.7887 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.01677, allocations: 4.625 kB / 0.7887 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.01694, allocations: 65.77 kB / 0.7888 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.01712, allocations: 87.83 kB / 0.7888 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.01713, allocations: 8 kB / 0.7888 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.01723, allocations: 15.98 kB / 0.7889 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.01725, allocations: 16 kB / 0.7889 GB, free: 6.898 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 0.0001135/0.01737, allocations: 139.5 kB / 0.789 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.01741, allocations: 35.91 kB / 0.789 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.01773, allocations: 232.6 kB / 0.7893 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.01773, allocations: 4 kB / 0.7893 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.01774, allocations: 3.938 kB / 0.7893 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.01774, allocations: 3.984 kB / 0.7893 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.01825, allocations: 0.5141 MB / 0.7898 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01825, allocations: 4 kB / 0.7898 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.01837, allocations: 47.91 kB / 0.7898 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.01847, allocations: 63.94 kB / 0.7899 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.01848, allocations: 4.656 kB / 0.7899 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.01849, allocations: 0 / 0.7899 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01849, allocations: 8.594 kB / 0.7899 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.01876, allocations: 371.1 kB / 0.7903 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.01882, allocations: 47.69 kB / 0.7903 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.01885, allocations: 13.95 kB / 0.7903 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.01893, allocations: 8 kB / 0.7903 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.01898, allocations: 19.95 kB / 0.7903 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.01899, allocations: 8 kB / 0.7903 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.321e-05/0.01906, allocations: 116.7 kB / 0.7905 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01906, allocations: 1.625 kB / 0.7905 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002211/0.01928, allocations: 95.94 kB / 0.7906 GB, free: 5.062 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 8.724e-05/0.01937, allocations: 91.94 kB / 0.7906 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.01963, allocations: 201.6 kB / 0.7908 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.01964, allocations: 4.875 kB / 0.7908 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.01976, allocations: 117.8 kB / 0.791 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.02011, allocations: 134.2 kB / 0.7911 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/0.02092, allocations: 0.6689 MB / 0.7917 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.7e-05/0.02099, allocations: 121.5 kB / 0.7918 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.02109, allocations: 49.83 kB / 0.7919 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.02127, allocations: 137.3 kB / 0.792 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of SimCode: time 1.002e-06/0.02127, allocations: 0 / 0.792 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.006963/0.02823, allocations: 5.113 MB / 0.797 GB, free: 14.59 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.945749417878687]