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.001045/0.001046, allocations: 100.5 kB / 16.27 MB, free: 5.969 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.000973/0.000973, allocations: 190.7 kB / 17.2 MB, free: 5.598 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.295/1.295, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.741/0.741, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 72.12 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3273, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003511/0.3308, allocations: 2.625 MB / 0.5699 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.3326, allocations: 1.314 MB / 0.5711 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.3327, allocations: 8.062 kB / 0.5711 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005916/0.3333, allocations: 170.3 kB / 0.5713 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.3336, allocations: 167.7 kB / 0.5715 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.3339, allocations: 159.9 kB / 0.5716 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.3341, allocations: 268.8 kB / 0.5719 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.3344, allocations: 142.4 kB / 0.572 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3346, allocations: 103.5 kB / 0.5721 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.3348, allocations: 124.9 kB / 0.5722 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.3348, allocations: 14.41 kB / 0.5722 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.335, allocations: 152.5 kB / 0.5724 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-05/0.3351, allocations: 67.94 kB / 0.5725 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.036e-05/0.3352, allocations: 92.72 kB / 0.5725 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.3355, allocations: 288.7 kB / 0.5728 GB, free: 29.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3356, allocations: 1.375 kB / 0.5728 GB, free: 29.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3356, allocations: 1.344 kB / 0.5728 GB, free: 29.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3356, allocations: 0.7969 kB / 0.5728 GB, free: 29.34 MB / 446.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.0005965/0.3362, allocations: 497.8 kB / 0.5733 GB, free: 28.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.3362, allocations: 14.62 kB / 0.5733 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.3363, allocations: 54.16 kB / 0.5734 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/0.3367, allocations: 67.5 kB / 0.5734 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.337, allocations: 241.3 kB / 0.5737 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.337, allocations: 11.03 kB / 0.5737 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.337, allocations: 18.22 kB / 0.5737 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.3375, allocations: 308.6 kB / 0.574 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3375, allocations: 1.875 kB / 0.574 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.3375, allocations: 6.781 kB / 0.574 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.497e-05/0.3376, allocations: 28.44 kB / 0.574 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004742/0.3381, allocations: 252.8 kB / 0.5743 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.3393, allocations: 1.51 MB / 0.5757 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.3398, allocations: 257.2 kB / 0.576 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.34, allocations: 126.1 kB / 0.5761 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.34, allocations: 6.406 kB / 0.5761 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.34, allocations: 46.14 kB / 0.5761 GB, free: 26.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.3401, allocations: 1.125 kB / 0.5761 GB, free: 26.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007068/0.3408, allocations: 343.4 kB / 0.5765 GB, free: 26.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.3408, allocations: 79.53 kB / 0.5765 GB, free: 26.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3409, allocations: 180.5 kB / 0.5767 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.341, allocations: 28.08 kB / 0.5767 GB, free: 26.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.341, allocations: 139.9 kB / 0.5769 GB, free: 26.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.341, allocations: 51.81 kB / 0.5769 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.3411, allocations: 49.02 kB / 0.577 GB, free: 26.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.658e-05/0.3412, allocations: 327.8 kB / 0.5773 GB, free: 25.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.3414, allocations: 109 kB / 0.5774 GB, free: 25.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.3416, allocations: 164 kB / 0.5775 GB, free: 25.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.342, allocations: 283.4 kB / 0.5778 GB, free: 25.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3421, allocations: 1.531 kB / 0.5778 GB, free: 25.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005057/0.3426, allocations: 312 kB / 0.5781 GB, free: 25.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3426, allocations: 10.81 kB / 0.5781 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3426, allocations: 3.469 kB / 0.5781 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3426, allocations: 2.594 kB / 0.5781 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.3429, allocations: 54.86 kB / 0.5782 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3429, allocations: 4.203 kB / 0.5782 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.3431, allocations: 39.94 kB / 0.5782 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.3431, allocations: 13.8 kB / 0.5782 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002308/0.3433, allocations: 192.9 kB / 0.5784 GB, free: 25.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001859/0.3435, allocations: 157 kB / 0.5786 GB, free: 25.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003521/0.3439, allocations: 252 kB / 0.5788 GB, free: 25.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.3439, allocations: 1.375 kB / 0.5788 GB, free: 25.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004389/0.3444, allocations: 275.5 kB / 0.5791 GB, free: 24.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.3444, allocations: 6.062 kB / 0.5791 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-06/0.3444, allocations: 3.25 kB / 0.5791 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.379e-06/0.3444, allocations: 4.688 kB / 0.5791 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.3446, allocations: 50.86 kB / 0.5791 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3446, allocations: 7.297 kB / 0.5791 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.3448, allocations: 31.47 kB / 0.5792 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.3448, allocations: 8.406 kB / 0.5792 GB, free: 24.96 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 6.576e-05/0.3449, allocations: 196.5 kB / 0.5794 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.3449, allocations: 16.77 kB / 0.5794 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004901/0.3454, allocations: 273 kB / 0.5797 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3454, allocations: 2.719 kB / 0.5797 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3455, allocations: 1.031 kB / 0.5797 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3455, allocations: 1.359 kB / 0.5797 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008833/0.3464, allocations: 0.6877 MB / 0.5803 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3464, allocations: 1.75 kB / 0.5803 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.3466, allocations: 45.03 kB / 0.5804 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3466, allocations: 6.375 kB / 0.5804 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.3466, allocations: 6.125 kB / 0.5804 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.3466, allocations: 7.375 kB / 0.5804 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3466, allocations: 2.281 kB / 0.5804 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004466/0.3471, allocations: 447.8 kB / 0.5808 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.3472, allocations: 108.5 kB / 0.5809 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.3472, allocations: 11.61 kB / 0.5809 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.3474, allocations: 17.64 kB / 0.581 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.3475, allocations: 24.11 kB / 0.581 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3475, allocations: 8 kB / 0.581 GB, free: 23.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.41e-05/0.3476, allocations: 135.9 kB / 0.5811 GB, free: 23.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3476, allocations: 0 / 0.5811 GB, free: 23.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004668/0.3481, allocations: 86.5 kB / 0.5812 GB, free: 23.63 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.0005819/0.3487, allocations: 0.9822 MB / 0.5822 GB, free: 22.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006539/0.3493, allocations: 394 kB / 0.5825 GB, free: 22.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3494, allocations: 1.219 kB / 0.5825 GB, free: 22.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.3495, allocations: 114.2 kB / 0.5826 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.35, allocations: 41.5 kB / 0.5827 GB, free: 22.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.3523, allocations: 2.437 MB / 0.5851 GB, free: 20.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.3525, allocations: 0.7397 MB / 0.5858 GB, free: 19.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001892/0.3527, allocations: 74.72 kB / 0.5859 GB, free: 19.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.3528, allocations: 54.44 kB / 0.5859 GB, free: 19.72 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3528, allocations: 0 / 0.5859 GB, free: 19.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.3722, allocations: 4.144 MB / 0.59 GB, free: 17.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/7.34, allocations: 10.53 kB / 0.59 GB, free: 17.68 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)