Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 105 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 195.6 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 74.91 kB / 0.6717 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2187, allocations: 114.5 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00409/0.2228, allocations: 2.696 MB / 0.7862 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.2248, allocations: 1.341 MB / 0.7875 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.2249, allocations: 4 kB / 0.7875 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007086/0.2256, allocations: 175.4 kB / 0.7876 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003938/0.226, allocations: 151.4 kB / 0.7878 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.2265, allocations: 151.8 kB / 0.7879 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.2268, allocations: 271.1 kB / 0.7882 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/0.2271, allocations: 153.4 kB / 0.7883 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.2273, allocations: 99.67 kB / 0.7884 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.2275, allocations: 131.5 kB / 0.7886 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.2276, allocations: 16 kB / 0.7886 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.2278, allocations: 147.7 kB / 0.7887 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.71e-05/0.2279, allocations: 71.8 kB / 0.7888 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.917e-05/0.228, allocations: 87.53 kB / 0.7889 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.2283, allocations: 219.8 kB / 0.7891 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2283, allocations: 0 / 0.7891 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2283, allocations: 0 / 0.7891 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2283, allocations: 0 / 0.7891 GB, free: 8.168 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007696/0.2291, allocations: 0.5027 MB / 0.7896 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2291, allocations: 12.03 kB / 0.7896 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004822/0.2296, allocations: 64.67 kB / 0.7896 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.2299, allocations: 243 kB / 0.7899 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.2299, allocations: 4.656 kB / 0.7899 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.2299, allocations: 20.36 kB / 0.7899 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.2305, allocations: 313.3 kB / 0.7902 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2305, allocations: 0 / 0.7902 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.2305, allocations: 4 kB / 0.7902 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/0.2306, allocations: 28.27 kB / 0.7902 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004923/0.2311, allocations: 260.5 kB / 0.7905 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.2327, allocations: 1.497 MB / 0.7919 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.2332, allocations: 261 kB / 0.7922 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.2335, allocations: 133.6 kB / 0.7923 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.2335, allocations: 3.938 kB / 0.7923 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.2335, allocations: 34.56 kB / 0.7923 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.2335, allocations: 4 kB / 0.7923 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007475/0.2343, allocations: 344 kB / 0.7927 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.2344, allocations: 81.11 kB / 0.7928 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.2345, allocations: 175.1 kB / 0.7929 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.2346, allocations: 25.7 kB / 0.7929 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.2347, allocations: 140.2 kB / 0.7931 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.2347, allocations: 59.19 kB / 0.7931 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.799e-05/0.2348, allocations: 49.64 kB / 0.7932 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2349, allocations: 326.8 kB / 0.7935 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.2351, allocations: 108.8 kB / 0.7936 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.2355, allocations: 167.5 kB / 0.7938 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.2359, allocations: 278.7 kB / 0.794 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2359, allocations: 0 / 0.794 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005543/0.2365, allocations: 319.5 kB / 0.7943 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2365, allocations: 4 kB / 0.7943 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2365, allocations: 4 kB / 0.7943 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2365, allocations: 0 / 0.7943 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.2368, allocations: 59.89 kB / 0.7944 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.2369, allocations: 4 kB / 0.7944 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.237, allocations: 27.81 kB / 0.7944 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.2371, allocations: 12 kB / 0.7944 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002572/0.2373, allocations: 204.7 kB / 0.7946 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002167/0.2376, allocations: 148.5 kB / 0.7948 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003697/0.2379, allocations: 243.5 kB / 0.795 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.238, allocations: 8 kB / 0.795 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004644/0.2384, allocations: 276.2 kB / 0.7953 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.2384, allocations: 11.94 kB / 0.7953 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.2384, allocations: 0 / 0.7953 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/0.2385, allocations: 4 kB / 0.7953 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.2387, allocations: 56.2 kB / 0.7953 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2387, allocations: 11.88 kB / 0.7954 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.2389, allocations: 27.83 kB / 0.7954 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.2389, allocations: 11.98 kB / 0.7954 GB, free: 1.223 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.239, allocations: 188.2 kB / 0.7956 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.2391, allocations: 15.81 kB / 0.7956 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000523/0.2396, allocations: 270.9 kB / 0.7958 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.2396, allocations: 7.984 kB / 0.7959 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2396, allocations: 0 / 0.7959 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2396, allocations: 0 / 0.7959 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.2406, allocations: 0.6812 MB / 0.7965 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2407, allocations: 0 / 0.7965 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.2409, allocations: 43.95 kB / 0.7966 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2409, allocations: 0 / 0.7966 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.2409, allocations: 7.938 kB / 0.7966 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2409, allocations: 3.938 kB / 0.7966 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2409, allocations: 4 kB / 0.7966 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/0.2415, allocations: 449.8 kB / 0.797 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2416, allocations: 124.7 kB / 0.7971 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.2417, allocations: 7.922 kB / 0.7971 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.2419, allocations: 23.98 kB / 0.7972 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.2419, allocations: 11.98 kB / 0.7972 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.2419, allocations: 12 kB / 0.7972 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000112/0.2421, allocations: 131.8 kB / 0.7973 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2421, allocations: 0 / 0.7973 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004612/0.2425, allocations: 75.84 kB / 0.7974 GB, free: 15.05 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001395/0.2427, allocations: 108 kB / 0.7975 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007035/0.2434, allocations: 390.1 kB / 0.7978 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2434, allocations: 0 / 0.7978 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.2436, allocations: 116.7 kB / 0.798 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.2441, allocations: 48.22 kB / 0.798 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008153/0.2449, allocations: 0.5389 MB / 0.7985 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.2453, allocations: 0.748 MB / 0.7993 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.2454, allocations: 19.44 kB / 0.7993 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of SimCode: time 1.924e-06/0.2454, allocations: 0 / 0.7993 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of Templates: time 0.004442/0.2499, allocations: 2.592 MB / 0.8018 GB, free: 10.44 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)