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.399/1.399, allocations: 251.9 MB / 266.9 MB, free: 11 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.001571/0.001571, allocations: 174 kB / 326.5 MB, free: 2.227 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.539/1.539, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0007872/0.0007873, allocations: 96.38 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003037, allocations: 9.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1981, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002633/0.2008, allocations: 2.237 MB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.2024, allocations: 1.252 MB / 0.9036 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.2025, allocations: 4 kB / 0.9036 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.2026, allocations: 27.83 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.203, allocations: 107.6 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.2033, allocations: 135.7 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.2035, allocations: 151.7 kB / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.2039, allocations: 294 kB / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.204, allocations: 71.7 kB / 0.9043 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.2042, allocations: 87.72 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.2042, allocations: 8 kB / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.2043, allocations: 67.89 kB / 0.9045 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.2044, allocations: 55.83 kB / 0.9045 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.2044, allocations: 49.64 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.2046, allocations: 207.8 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.2046, allocations: 0 / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2046, allocations: 4 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2046, allocations: 0 / 0.9048 GB, free: 59 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.0005898/0.2052, allocations: 484.9 kB / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2053, allocations: 8.031 kB / 0.9052 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.2053, allocations: 54.48 kB / 0.9053 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004565/0.2058, allocations: 75.58 kB / 0.9054 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.206, allocations: 236.8 kB / 0.9056 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.2061, allocations: 8.281 kB / 0.9056 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.2061, allocations: 16 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.2065, allocations: 300.6 kB / 0.9059 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2065, allocations: 4 kB / 0.9059 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.2066, allocations: 7.984 kB / 0.9059 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.316e-05/0.2066, allocations: 32.25 kB / 0.9059 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.2071, allocations: 272.5 kB / 0.9062 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.2083, allocations: 1.498 MB / 0.9077 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.2087, allocations: 269 kB / 0.9079 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.2088, allocations: 3.938 kB / 0.9079 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.2088, allocations: 38.56 kB / 0.908 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.194e-06/0.2088, allocations: 0 / 0.908 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0006536/0.2094, allocations: 368.4 kB / 0.9083 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.2095, allocations: 77.11 kB / 0.9084 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.2096, allocations: 175.2 kB / 0.9086 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.2096, allocations: 29.7 kB / 0.9086 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.2097, allocations: 148 kB / 0.9087 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.2097, allocations: 51.2 kB / 0.9088 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.2097, allocations: 4 kB / 0.9088 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.929e-05/0.2098, allocations: 322.8 kB / 0.9091 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.21, allocations: 107.9 kB / 0.9092 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.2102, allocations: 171.7 kB / 0.9094 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.2104, allocations: 129.5 kB / 0.9095 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2104, allocations: 0 / 0.9095 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004651/0.2109, allocations: 313.3 kB / 0.9098 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.211, allocations: 0.7058 MB / 0.9105 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.211, allocations: 0 / 0.9105 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.211, allocations: 7.984 kB / 0.9105 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.2113, allocations: 55.89 kB / 0.9105 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.2113, allocations: 4 kB / 0.9105 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.2115, allocations: 43.66 kB / 0.9106 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.2115, allocations: 8 kB / 0.9106 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-06/0.2115, allocations: 4 kB / 0.9106 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003838/0.2119, allocations: 242.2 kB / 0.9108 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.2119, allocations: 0 / 0.9108 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-06/0.2119, allocations: 4.219 kB / 0.9108 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.2121, allocations: 75.78 kB / 0.9109 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.2121, allocations: 4 kB / 0.9109 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.2123, allocations: 23.92 kB / 0.9109 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.2123, allocations: 11.98 kB / 0.9109 GB, free: 52.27 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.000137/0.2125, allocations: 217.9 kB / 0.9111 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.2125, allocations: 15.81 kB / 0.9112 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004966/0.213, allocations: 290.8 kB / 0.9114 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.213, allocations: 7.953 kB / 0.9114 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.213, allocations: 0 / 0.9114 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2131, allocations: 0 / 0.9114 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008849/0.2139, allocations: 0.6927 MB / 0.9121 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.214, allocations: 3.953 kB / 0.9121 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.2142, allocations: 52.02 kB / 0.9122 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2142, allocations: 4 kB / 0.9122 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.2142, allocations: 8 kB / 0.9122 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2142, allocations: 0 / 0.9122 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2142, allocations: 4 kB / 0.9122 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/0.2147, allocations: 0.5062 MB / 0.9127 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.2149, allocations: 112.9 kB / 0.9128 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.2149, allocations: 15.89 kB / 0.9128 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.2151, allocations: 19.97 kB / 0.9128 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/0.2152, allocations: 11.98 kB / 0.9128 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.2153, allocations: 8 kB / 0.9128 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.658e-05/0.2154, allocations: 131.2 kB / 0.913 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2154, allocations: 0 / 0.913 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004514/0.2158, allocations: 83.84 kB / 0.913 GB, free: 49.93 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.0007178/0.2165, allocations: 1.394 MB / 0.9144 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006045/0.2172, allocations: 383.8 kB / 0.9148 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2172, allocations: 0 / 0.9148 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.2174, allocations: 128.7 kB / 0.9149 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.2177, allocations: 36.11 kB / 0.9149 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.2198, allocations: 2.31 MB / 0.9172 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.2199, allocations: 0.7518 MB / 0.9179 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001931/0.2201, allocations: 85.45 kB / 0.918 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.723e-05/0.2202, allocations: 47.42 kB / 0.918 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.2202, allocations: 0 / 0.918 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.2331, allocations: 3.765 MB / 0.9217 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/0.2333, allocations: 215 kB / 0.9219 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/1.787, allocations: 4 kB / 0.9219 GB, free: 40.8 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)