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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 107.3 kB / 16.4 MB, free: 6.508 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.001395/0.001395, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7337/0.7337, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 62.97 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1736, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003686/0.1774, allocations: 2.622 MB / 0.6341 GB, free: 2.277 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1794, allocations: 1.313 MB / 0.6354 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.872e-05/0.1795, allocations: 4 kB / 0.6354 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006733/0.1802, allocations: 181.8 kB / 0.6356 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.1805, allocations: 171.3 kB / 0.6358 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.1809, allocations: 159.6 kB / 0.6359 GB, free: 464 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.1812, allocations: 263.1 kB / 0.6362 GB, free: 200 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.1815, allocations: 145.5 kB / 0.6363 GB, free: 56 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1816, allocations: 107.6 kB / 0.6364 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.1819, allocations: 119.6 kB / 0.6365 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.1819, allocations: 16 kB / 0.6365 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.1821, allocations: 147.7 kB / 0.6367 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.889e-05/0.1822, allocations: 67.8 kB / 0.6367 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.1823, allocations: 95.53 kB / 0.6368 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.1826, allocations: 302.7 kB / 0.6371 GB, free: 15.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1827, allocations: 0 / 0.6371 GB, free: 15.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1827, allocations: 0 / 0.6371 GB, free: 15.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1827, allocations: 0 / 0.6371 GB, free: 15.22 MB / 494.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.0007101/0.1834, allocations: 494.9 kB / 0.6376 GB, free: 14.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1834, allocations: 8.031 kB / 0.6376 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.465e-05/0.1835, allocations: 54.67 kB / 0.6377 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.184, allocations: 72.67 kB / 0.6377 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.1843, allocations: 249.9 kB / 0.638 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.1843, allocations: 8.656 kB / 0.638 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.1843, allocations: 12.38 kB / 0.638 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.1848, allocations: 316.5 kB / 0.6383 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1848, allocations: 3.938 kB / 0.6383 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.1849, allocations: 7.984 kB / 0.6383 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-05/0.1849, allocations: 24.27 kB / 0.6383 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.1854, allocations: 260.6 kB / 0.6386 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.1869, allocations: 1.494 MB / 0.64 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.1874, allocations: 261 kB / 0.6403 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.1876, allocations: 133.6 kB / 0.6404 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1876, allocations: 3.984 kB / 0.6404 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1877, allocations: 42.44 kB / 0.6405 GB, free: 11.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.1877, allocations: 0 / 0.6405 GB, free: 11.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007256/0.1884, allocations: 333.3 kB / 0.6408 GB, free: 11.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.1885, allocations: 89.17 kB / 0.6409 GB, free: 11.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1886, allocations: 174.6 kB / 0.641 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1887, allocations: 29.7 kB / 0.6411 GB, free: 10.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.1888, allocations: 136.1 kB / 0.6412 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.1888, allocations: 55.2 kB / 0.6412 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.991e-05/0.1889, allocations: 45.7 kB / 0.6413 GB, free: 10.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.189, allocations: 330.8 kB / 0.6416 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.1892, allocations: 112.6 kB / 0.6417 GB, free: 10.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.1895, allocations: 163.6 kB / 0.6419 GB, free: 9.977 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.1899, allocations: 282.7 kB / 0.6421 GB, free: 9.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1899, allocations: 0 / 0.6421 GB, free: 9.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005321/0.1905, allocations: 313.1 kB / 0.6424 GB, free: 9.363 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1905, allocations: 5.875 kB / 0.6424 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1905, allocations: 0 / 0.6424 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1905, allocations: 4 kB / 0.6424 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.1908, allocations: 63.88 kB / 0.6425 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.1908, allocations: 8.219 kB / 0.6425 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.191, allocations: 27.83 kB / 0.6425 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.191, allocations: 15.92 kB / 0.6425 GB, free: 9.242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000246/0.1913, allocations: 192.1 kB / 0.6427 GB, free: 9.051 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002132/0.1915, allocations: 154.5 kB / 0.6429 GB, free: 8.871 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003679/0.1919, allocations: 249.4 kB / 0.6431 GB, free: 8.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/0.1919, allocations: 0 / 0.6431 GB, free: 8.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004639/0.1924, allocations: 279.9 kB / 0.6434 GB, free: 8.324 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.1924, allocations: 4 kB / 0.6434 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-06/0.1924, allocations: 4 kB / 0.6434 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/0.1924, allocations: 4 kB / 0.6434 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.1926, allocations: 55.89 kB / 0.6434 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1926, allocations: 4 kB / 0.6434 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.1928, allocations: 31.81 kB / 0.6435 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.1928, allocations: 8 kB / 0.6435 GB, free: 8.215 MB / 494.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.0001058/0.1929, allocations: 200.8 kB / 0.6437 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.193, allocations: 15.81 kB / 0.6437 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005003/0.1935, allocations: 274.8 kB / 0.644 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1935, allocations: 4 kB / 0.644 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1935, allocations: 0 / 0.644 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1935, allocations: 0 / 0.644 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/0.1945, allocations: 0.6849 MB / 0.6446 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1945, allocations: 4 kB / 0.6446 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.1947, allocations: 43.95 kB / 0.6447 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.1947, allocations: 3.938 kB / 0.6447 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.1948, allocations: 8 kB / 0.6447 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1948, allocations: 0 / 0.6447 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.1948, allocations: 12.06 kB / 0.6447 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.1953, allocations: 446 kB / 0.6451 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.1954, allocations: 116.8 kB / 0.6452 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.1955, allocations: 11.88 kB / 0.6452 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.1957, allocations: 19.97 kB / 0.6453 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.1957, allocations: 15.92 kB / 0.6453 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1957, allocations: 7.938 kB / 0.6453 GB, free: 6.238 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1958, allocations: 131.2 kB / 0.6454 GB, free: 6.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1959, allocations: 0 / 0.6454 GB, free: 6.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004376/0.1963, allocations: 83.84 kB / 0.6455 GB, free: 6.027 MB / 494.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.0007499/0.1971, allocations: 0.9828 MB / 0.6465 GB, free: 5.008 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006846/0.1978, allocations: 372.4 kB / 0.6468 GB, free: 4.645 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1978, allocations: 0 / 0.6468 GB, free: 4.645 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.198, allocations: 115.8 kB / 0.6469 GB, free: 4.531 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.1984, allocations: 37.12 kB / 0.647 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.2014, allocations: 2.473 MB / 0.6494 GB, free: 1.879 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.2017, allocations: 0.7441 MB / 0.6501 GB, free: 1.105 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002129/0.2019, allocations: 77.45 kB / 0.6502 GB, free: 1.027 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.2021, allocations: 51.42 kB / 0.6502 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2021, allocations: 0 / 0.6502 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.2237, allocations: 4.266 MB / 0.6544 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/8.025, allocations: 2.344 kB / 0.6544 GB, free: 12.84 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)