Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 109.4 kB / 15.69 MB, free: 128 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.001107/0.001107, allocations: 183.4 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 66.45 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.198, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004583/0.2026, allocations: 2.646 MB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002321/0.205, allocations: 1.353 MB / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.2052, allocations: 4 kB / 0.7875 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007747/0.206, allocations: 179.2 kB / 0.7877 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005217/0.2065, allocations: 167.3 kB / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.207, allocations: 163.6 kB / 0.788 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003967/0.2074, allocations: 267.1 kB / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003446/0.2077, allocations: 145.4 kB / 0.7884 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.208, allocations: 95.67 kB / 0.7885 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.2083, allocations: 123.6 kB / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.2083, allocations: 12 kB / 0.7886 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.2086, allocations: 151.7 kB / 0.7888 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.302e-05/0.2087, allocations: 71.78 kB / 0.7889 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.2089, allocations: 95.53 kB / 0.7889 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.2092, allocations: 299.2 kB / 0.7892 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2093, allocations: 0 / 0.7892 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2093, allocations: 0 / 0.7892 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2093, allocations: 0 / 0.7892 GB, free: 7.461 MB / 0.6075 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.0007683/0.2101, allocations: 494.9 kB / 0.7897 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2101, allocations: 8.031 kB / 0.7897 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.2102, allocations: 54.73 kB / 0.7898 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.2106, allocations: 76.61 kB / 0.7898 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.2109, allocations: 243 kB / 0.7901 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2109, allocations: 8.656 kB / 0.7901 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.211, allocations: 16.38 kB / 0.7901 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.2114, allocations: 312.5 kB / 0.7904 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2115, allocations: 0 / 0.7904 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.2115, allocations: 11.92 kB / 0.7904 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/0.2115, allocations: 28.27 kB / 0.7904 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004643/0.212, allocations: 256.6 kB / 0.7907 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.2134, allocations: 1.501 MB / 0.7921 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.2139, allocations: 260 kB / 0.7924 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.2141, allocations: 125.6 kB / 0.7925 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.2142, allocations: 12 kB / 0.7925 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.2142, allocations: 34.56 kB / 0.7926 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.2142, allocations: 0 / 0.7926 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006973/0.2149, allocations: 337.3 kB / 0.7929 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.2149, allocations: 77.23 kB / 0.7929 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.2151, allocations: 183.1 kB / 0.7931 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.2151, allocations: 25.7 kB / 0.7931 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.2152, allocations: 136.1 kB / 0.7933 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.2152, allocations: 59.14 kB / 0.7933 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.723e-05/0.2153, allocations: 45.7 kB / 0.7934 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.2154, allocations: 326.8 kB / 0.7937 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.2156, allocations: 116.8 kB / 0.7938 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.2159, allocations: 163.5 kB / 0.794 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.2163, allocations: 282 kB / 0.7942 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2163, allocations: 0 / 0.7942 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005147/0.2168, allocations: 309.2 kB / 0.7945 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2169, allocations: 12.88 kB / 0.7945 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2169, allocations: 3.984 kB / 0.7945 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2169, allocations: 4 kB / 0.7945 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.2172, allocations: 51.95 kB / 0.7946 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.2172, allocations: 7.938 kB / 0.7946 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.2174, allocations: 36.03 kB / 0.7946 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.2174, allocations: 11.94 kB / 0.7946 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002351/0.2176, allocations: 192.1 kB / 0.7948 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000211/0.2179, allocations: 155 kB / 0.795 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003616/0.2182, allocations: 251.5 kB / 0.7952 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.2182, allocations: 3.938 kB / 0.7952 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004541/0.2187, allocations: 279.9 kB / 0.7955 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.2187, allocations: 12.02 kB / 0.7955 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2187, allocations: 4 kB / 0.7955 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/0.2187, allocations: 4 kB / 0.7955 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.2189, allocations: 51.89 kB / 0.7956 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.219, allocations: 4 kB / 0.7956 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.2191, allocations: 31.81 kB / 0.7956 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.2192, allocations: 4 kB / 0.7956 GB, free: 480 kB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.734e-05/0.2193, allocations: 197.2 kB / 0.7958 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.2193, allocations: 19.81 kB / 0.7958 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000515/0.2198, allocations: 271 kB / 0.7961 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2199, allocations: 4 kB / 0.7961 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2199, allocations: 4 kB / 0.7961 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2199, allocations: 3.938 kB / 0.7961 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009292/0.2208, allocations: 0.6732 MB / 0.7967 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.2208, allocations: 4 kB / 0.7967 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.2211, allocations: 43.89 kB / 0.7968 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.2211, allocations: 7.938 kB / 0.7968 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.2211, allocations: 8 kB / 0.7968 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2211, allocations: 0 / 0.7968 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.2211, allocations: 4.125 kB / 0.7968 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.2216, allocations: 453.8 kB / 0.7972 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-05/0.2217, allocations: 112.8 kB / 0.7973 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.2218, allocations: 11.94 kB / 0.7973 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.222, allocations: 19.97 kB / 0.7974 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.222, allocations: 11.98 kB / 0.7974 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.222, allocations: 4 kB / 0.7974 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.626e-05/0.2222, allocations: 131.8 kB / 0.7975 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2222, allocations: 3.938 kB / 0.7975 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004533/0.2226, allocations: 83.84 kB / 0.7976 GB, free: 14.29 MB / 0.6231 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 (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.0007168/0.2233, allocations: 0.9906 MB / 0.7986 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006496/0.224, allocations: 368.4 kB / 0.7989 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.224, allocations: 4.062 kB / 0.7989 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.2242, allocations: 115.9 kB / 0.799 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.2247, allocations: 38.89 kB / 0.7991 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.2273, allocations: 2.466 MB / 0.8015 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.2276, allocations: 0.7519 MB / 0.8022 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.2278, allocations: 73.47 kB / 0.8023 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.2279, allocations: 51.42 kB / 0.8023 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.2279, allocations: 0 / 0.8023 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.2464, allocations: 4.162 MB / 0.8064 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.721, allocations: 4.062 kB / 0.8064 GB, free: 5.195 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)