Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009432/0.0009431, allocations: 176.6 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 0.5777 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009336/0.0009334, allocations: 91.56 kB / 0.6823 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 15.91 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.283, allocations: 106.3 MB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002655/0.2857, allocations: 2.26 MB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.2874, allocations: 1.279 MB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.2875, allocations: 0 / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.2877, allocations: 27.78 kB / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.2881, allocations: 127.4 kB / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.2884, allocations: 131.7 kB / 0.904 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.2887, allocations: 307 kB / 0.9043 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004541/0.2891, allocations: 294 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.2893, allocations: 83.62 kB / 0.9047 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.2895, allocations: 119.6 kB / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.2895, allocations: 8 kB / 0.9048 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.2897, allocations: 75.88 kB / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/0.2897, allocations: 51.81 kB / 0.9049 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.2898, allocations: 57.64 kB / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.29, allocations: 207.8 kB / 0.9052 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.29, allocations: 4 kB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.29, allocations: 0 / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.29, allocations: 0 / 0.9052 GB, free: 59.09 MB / 0.6042 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.0006584/0.2907, allocations: 474.9 kB / 0.9056 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.2908, allocations: 12.03 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/0.2908, allocations: 50.48 kB / 0.9057 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004614/0.2913, allocations: 75.59 kB / 0.9058 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.2915, allocations: 240.8 kB / 0.906 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2915, allocations: 8.281 kB / 0.906 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.2916, allocations: 12 kB / 0.906 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.292, allocations: 304.6 kB / 0.9063 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.292, allocations: 4 kB / 0.9063 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.2921, allocations: 0 / 0.9063 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/0.2921, allocations: 32.25 kB / 0.9064 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.2926, allocations: 276.5 kB / 0.9066 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.2939, allocations: 1.494 MB / 0.9081 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.2943, allocations: 261.1 kB / 0.9083 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.2945, allocations: 137.6 kB / 0.9085 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.2945, allocations: 4 kB / 0.9085 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.2946, allocations: 42.45 kB / 0.9085 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.183e-06/0.2946, allocations: 0 / 0.9085 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0006837/0.2953, allocations: 364.2 kB / 0.9088 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2953, allocations: 81.11 kB / 0.9089 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.2954, allocations: 167.2 kB / 0.9091 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.2955, allocations: 29.7 kB / 0.9091 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.2955, allocations: 151.9 kB / 0.9093 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.2956, allocations: 51.27 kB / 0.9093 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.2956, allocations: 4 kB / 0.9093 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.2957, allocations: 326.8 kB / 0.9096 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.2959, allocations: 103.9 kB / 0.9097 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.2961, allocations: 179.5 kB / 0.9099 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.2963, allocations: 128 kB / 0.91 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2963, allocations: 0 / 0.91 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005164/0.2968, allocations: 314.3 kB / 0.9103 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.561e-05/0.2969, allocations: 143.1 kB / 0.9105 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.297, allocations: 4 kB / 0.9105 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.297, allocations: 0 / 0.9105 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.2973, allocations: 59.89 kB / 0.9105 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.2973, allocations: 4 kB / 0.9105 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.2975, allocations: 47.66 kB / 0.9106 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.2975, allocations: 8 kB / 0.9106 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/0.2975, allocations: 6.656 kB / 0.9106 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000402/0.2979, allocations: 245.6 kB / 0.9108 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.298, allocations: 4 kB / 0.9108 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.298, allocations: 4 kB / 0.9108 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.2982, allocations: 47.91 kB / 0.9109 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2982, allocations: 11.98 kB / 0.9109 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.2983, allocations: 35.86 kB / 0.9109 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.2983, allocations: 4 kB / 0.9109 GB, free: 52.82 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.2985, allocations: 230 kB / 0.9111 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.2985, allocations: 15.81 kB / 0.9111 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004807/0.299, allocations: 278.9 kB / 0.9114 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.299, allocations: 4 kB / 0.9114 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2991, allocations: 0 / 0.9114 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.2991, allocations: 7.953 kB / 0.9114 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008475/0.2999, allocations: 0.6888 MB / 0.9121 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2999, allocations: 0 / 0.9121 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.3002, allocations: 51.89 kB / 0.9121 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3002, allocations: 0 / 0.9121 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.3002, allocations: 11.95 kB / 0.9122 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3002, allocations: 4 kB / 0.9122 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3002, allocations: 3.984 kB / 0.9122 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.3007, allocations: 461 kB / 0.9126 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/0.3007, allocations: 112.8 kB / 0.9127 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.3008, allocations: 8 kB / 0.9127 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.301, allocations: 23.92 kB / 0.9127 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.3011, allocations: 15.98 kB / 0.9128 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.3011, allocations: 7.938 kB / 0.9128 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.036e-05/0.3012, allocations: 139.2 kB / 0.9129 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3012, allocations: 0 / 0.9129 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004066/0.3016, allocations: 79.84 kB / 0.913 GB, free: 50.58 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006512/0.3022, allocations: 0.9958 MB / 0.9139 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006396/0.3029, allocations: 388.3 kB / 0.9143 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3029, allocations: 0 / 0.9143 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.3031, allocations: 119.8 kB / 0.9144 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.3036, allocations: 37.53 kB / 0.9145 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.3055, allocations: 1.26 MB / 0.9157 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.3057, allocations: 0.7479 MB / 0.9164 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002097/0.3059, allocations: 77.47 kB / 0.9165 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.306, allocations: 51.42 kB / 0.9166 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.3061, allocations: 4 kB / 0.9166 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.321, allocations: 3.779 MB / 0.9202 GB, free: 43.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.3212, allocations: 214.4 kB / 0.9205 GB, free: 42.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.073, allocations: 4 kB / 0.9205 GB, free: 42.92 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)