Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 2.755/2.755, allocations: 287.3 MB / 302.3 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001586, allocations: 182.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002212/0.002212, allocations: 93.67 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.000491, allocations: 10.88 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.223, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00332/0.2264, allocations: 2.233 MB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.2289, allocations: 1.241 MB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.2291, allocations: 3.938 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.2292, allocations: 27.83 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004848/0.2297, allocations: 107.6 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.2303, allocations: 137.2 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000307/0.2306, allocations: 151.7 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006354/0.2312, allocations: 298 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.2314, allocations: 67.77 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.2317, allocations: 87.72 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.2317, allocations: 8 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.232, allocations: 63.89 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/0.2321, allocations: 59.83 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.2321, allocations: 49.64 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.2325, allocations: 219.7 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2325, allocations: 0 / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2325, allocations: 0 / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.2325, allocations: 0 / 0.9829 GB, free: 23.48 MB / 0.6198 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.0008442/0.2334, allocations: 476.8 kB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.2334, allocations: 16.02 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.237e-05/0.2335, allocations: 50.55 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007348/0.2342, allocations: 75.67 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.2346, allocations: 234.6 kB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.2346, allocations: 12.28 kB / 0.9837 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.2346, allocations: 12 kB / 0.9837 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007066/0.2354, allocations: 308.6 kB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.2354, allocations: 0 / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.2354, allocations: 7.984 kB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.65e-05/0.2355, allocations: 32.25 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007621/0.2363, allocations: 276.5 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.2383, allocations: 1.505 MB / 0.9858 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.239, allocations: 265.1 kB / 0.9861 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.2391, allocations: 4 kB / 0.9861 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.2391, allocations: 38.5 kB / 0.9861 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.467e-06/0.2391, allocations: 0 / 0.9861 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001168/0.2403, allocations: 362.4 kB / 0.9865 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.2403, allocations: 77.11 kB / 0.9865 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.2405, allocations: 174.7 kB / 0.9867 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.2406, allocations: 25.7 kB / 0.9867 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.2407, allocations: 136.1 kB / 0.9868 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.054e-05/0.2407, allocations: 63.17 kB / 0.9869 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.2407, allocations: 4 kB / 0.9869 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.2408, allocations: 322.8 kB / 0.9872 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.2412, allocations: 107.9 kB / 0.9873 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.2415, allocations: 167.7 kB / 0.9875 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.2419, allocations: 127.9 kB / 0.9876 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2419, allocations: 0 / 0.9876 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008408/0.2428, allocations: 326.6 kB / 0.9879 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.243, allocations: 0.6954 MB / 0.9886 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.243, allocations: 0 / 0.9886 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.243, allocations: 11.98 kB / 0.9886 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.2436, allocations: 63.88 kB / 0.9887 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2436, allocations: 0 / 0.9887 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.2439, allocations: 35.81 kB / 0.9887 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.244, allocations: 8 kB / 0.9887 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.244, allocations: 6.031 kB / 0.9887 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006957/0.2447, allocations: 247.6 kB / 0.9889 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2447, allocations: 4 kB / 0.989 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-06/0.2447, allocations: 0 / 0.989 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.2451, allocations: 68.06 kB / 0.989 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2452, allocations: 4 kB / 0.989 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.2454, allocations: 27.83 kB / 0.989 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.2454, allocations: 11.98 kB / 0.9891 GB, free: 16.75 MB / 0.6198 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.0001789/0.2456, allocations: 217 kB / 0.9893 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.2457, allocations: 15.81 kB / 0.9893 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008026/0.2465, allocations: 280 kB / 0.9895 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2466, allocations: 7.953 kB / 0.9896 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2466, allocations: 0 / 0.9896 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2466, allocations: 0 / 0.9896 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.2481, allocations: 0.685 MB / 0.9902 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.2481, allocations: 3.953 kB / 0.9902 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/0.2486, allocations: 56.02 kB / 0.9903 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.2486, allocations: 0 / 0.9903 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.2486, allocations: 11.94 kB / 0.9903 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.2486, allocations: 0 / 0.9903 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2486, allocations: 4 kB / 0.9903 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008191/0.2495, allocations: 0.5069 MB / 0.9908 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.2497, allocations: 120.8 kB / 0.9909 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.2497, allocations: 11.95 kB / 0.9909 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.2501, allocations: 19.97 kB / 0.9909 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/0.2502, allocations: 11.98 kB / 0.9909 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.2502, allocations: 11.94 kB / 0.991 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001305/0.2503, allocations: 135.2 kB / 0.9911 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2503, allocations: 0 / 0.9911 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006675/0.251, allocations: 83.75 kB / 0.9912 GB, free: 14.43 MB / 0.6198 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.001135/0.2522, allocations: 1.395 MB / 0.9925 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.2533, allocations: 379.8 kB / 0.9929 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.2534, allocations: 0 / 0.9929 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.2537, allocations: 124.7 kB / 0.993 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.2542, allocations: 40.05 kB / 0.9931 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.2572, allocations: 2.313 MB / 0.9953 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.2575, allocations: 0.7596 MB / 0.9961 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003783/0.2579, allocations: 77.47 kB / 0.9961 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.2581, allocations: 51.42 kB / 0.9962 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of SimCode: time 1.793e-06/0.2581, allocations: 0 / 0.9962 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.288, allocations: 3.772 MB / 0.9999 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/0.2883, allocations: 204.9 kB / 1 GB, free: 5.297 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/2.806, allocations: 0 / 1 GB, free: 5.297 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)