Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008086/0.0008085, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008628/0.0008628, allocations: 184.8 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7001/0.7001, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003133, allocations: 12.52 kB / 495.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1802, allocations: 77.53 MB / 0.56 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003214/0.1835, allocations: 2.33 MB / 0.5622 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1856, allocations: 1.29 MB / 0.5635 GB, free: 5.402 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.1857, allocations: 4 kB / 0.5635 GB, free: 5.398 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.1858, allocations: 27.78 kB / 0.5635 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.1862, allocations: 159.4 kB / 0.5637 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.1865, allocations: 147.8 kB / 0.5638 GB, free: 5.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.1869, allocations: 371 kB / 0.5642 GB, free: 4.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004853/0.1874, allocations: 309.8 kB / 0.5645 GB, free: 4.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1876, allocations: 87.64 kB / 0.5646 GB, free: 4.289 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.1878, allocations: 123.5 kB / 0.5647 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1878, allocations: 8 kB / 0.5647 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/0.1881, allocations: 183.6 kB / 0.5649 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.1881, allocations: 55.81 kB / 0.5649 GB, free: 3.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1883, allocations: 113.2 kB / 0.565 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.1886, allocations: 287.3 kB / 0.5653 GB, free: 3.527 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.1886, allocations: 0 / 0.5653 GB, free: 3.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1886, allocations: 0 / 0.5653 GB, free: 3.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1886, allocations: 0 / 0.5653 GB, free: 3.527 MB / 430.1 MB 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.000635/0.1892, allocations: 479 kB / 0.5658 GB, free: 3.008 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.1893, allocations: 8.031 kB / 0.5658 GB, free: 3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004612/0.1897, allocations: 72.66 kB / 0.5658 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.19, allocations: 236.8 kB / 0.5661 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.19, allocations: 12.64 kB / 0.5661 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.1901, allocations: 16.31 kB / 0.5661 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.1906, allocations: 324.4 kB / 0.5664 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1906, allocations: 0 / 0.5664 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.1906, allocations: 4 kB / 0.5664 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-05/0.1907, allocations: 36.19 kB / 0.5664 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.1912, allocations: 264.6 kB / 0.5667 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.1927, allocations: 1.518 MB / 0.5682 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.1932, allocations: 261 kB / 0.5684 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.1934, allocations: 133.6 kB / 0.5685 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.1934, allocations: 4 kB / 0.5685 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1935, allocations: 30.56 kB / 0.5686 GB, free: 15.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.1935, allocations: 0 / 0.5686 GB, free: 15.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007257/0.1942, allocations: 360.5 kB / 0.5689 GB, free: 15.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.1943, allocations: 81.11 kB / 0.569 GB, free: 15.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1944, allocations: 174.6 kB / 0.5692 GB, free: 15.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.1945, allocations: 29.7 kB / 0.5692 GB, free: 15.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.05e-05/0.1946, allocations: 144.1 kB / 0.5693 GB, free: 15.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.1946, allocations: 55.19 kB / 0.5694 GB, free: 15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.1947, allocations: 25.7 kB / 0.5694 GB, free: 14.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1948, allocations: 326.8 kB / 0.5697 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.1951, allocations: 111.9 kB / 0.5698 GB, free: 14.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.1953, allocations: 171.1 kB / 0.57 GB, free: 14.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.1958, allocations: 292.8 kB / 0.5703 GB, free: 14.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1959, allocations: 0 / 0.5703 GB, free: 14.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005721/0.1964, allocations: 317.4 kB / 0.5706 GB, free: 13.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.917e-05/0.1965, allocations: 148.6 kB / 0.5707 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1966, allocations: 4 kB / 0.5707 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1966, allocations: 0 / 0.5707 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.1969, allocations: 59.94 kB / 0.5708 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1969, allocations: 11.88 kB / 0.5708 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.1971, allocations: 31.83 kB / 0.5708 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.1971, allocations: 11.98 kB / 0.5708 GB, free: 13.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.582e-06/0.1971, allocations: 4 kB / 0.5708 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004723/0.1976, allocations: 247.6 kB / 0.5711 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-06/0.1976, allocations: 0 / 0.5711 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.1976, allocations: 4.219 kB / 0.5711 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.1979, allocations: 59.95 kB / 0.5711 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1979, allocations: 3.938 kB / 0.5711 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.198, allocations: 31.83 kB / 0.5712 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.198, allocations: 7.938 kB / 0.5712 GB, free: 13.08 MB / 446.1 MB 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.0001592/0.1982, allocations: 225 kB / 0.5714 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.1983, allocations: 15.81 kB / 0.5714 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000576/0.1989, allocations: 284.9 kB / 0.5717 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.1989, allocations: 7.984 kB / 0.5717 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1989, allocations: 3.984 kB / 0.5717 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1989, allocations: 0 / 0.5717 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.1999, allocations: 0.6889 MB / 0.5724 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1999, allocations: 128 / 0.5724 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.2002, allocations: 51.95 kB / 0.5724 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.2002, allocations: 0 / 0.5724 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.2002, allocations: 7.938 kB / 0.5724 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2002, allocations: 3.938 kB / 0.5724 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.2002, allocations: 4 kB / 0.5724 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.2008, allocations: 461.8 kB / 0.5729 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.639e-05/0.2009, allocations: 120.8 kB / 0.573 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.201, allocations: 7.984 kB / 0.573 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.2012, allocations: 23.92 kB / 0.573 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.2012, allocations: 7.984 kB / 0.573 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.2013, allocations: 12 kB / 0.573 GB, free: 11.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.2014, allocations: 131.2 kB / 0.5731 GB, free: 10.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2014, allocations: 0 / 0.5731 GB, free: 10.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004382/0.2018, allocations: 79.84 kB / 0.5732 GB, free: 10.84 MB / 446.1 MB 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.0001316/0.202, allocations: 103.2 kB / 0.5733 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007498/0.2027, allocations: 385.2 kB / 0.5737 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2027, allocations: 0 / 0.5737 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.203, allocations: 124.7 kB / 0.5738 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.2035, allocations: 47.73 kB / 0.5739 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007707/0.2043, allocations: 0.5221 MB / 0.5744 GB, free: 9.629 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.2046, allocations: 0.748 MB / 0.5751 GB, free: 8.855 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.2048, allocations: 73.47 kB / 0.5752 GB, free: 8.785 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.2049, allocations: 19.44 kB / 0.5752 GB, free: 8.766 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2049, allocations: 0 / 0.5752 GB, free: 8.766 MB / 446.1 MB Notification: Performance of Templates: time 0.004793/0.2097, allocations: 2.116 MB / 0.5772 GB, free: 6.668 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)