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.001304/0.001304, allocations: 108 kB / 15.6 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.001419/0.001419, allocations: 195.8 kB / 16.53 MB, free: 6.672 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.294/1.294, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.67/1.67, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.002423/0.002423, allocations: 72.78 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1995, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003457/0.2029, allocations: 2.645 MB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.2047, allocations: 1.349 MB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.376e-05/0.2048, allocations: 4 kB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005624/0.2053, allocations: 179.3 kB / 0.7876 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.2056, allocations: 167.3 kB / 0.7877 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.2059, allocations: 158.9 kB / 0.7879 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.2062, allocations: 267.1 kB / 0.7881 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.2064, allocations: 141.5 kB / 0.7883 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.2066, allocations: 107.6 kB / 0.7884 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.2068, allocations: 123.6 kB / 0.7885 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.2068, allocations: 12 kB / 0.7885 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.207, allocations: 155.7 kB / 0.7886 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.68e-05/0.2071, allocations: 59.81 kB / 0.7887 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.88e-05/0.2072, allocations: 95.53 kB / 0.7888 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.2075, allocations: 291.2 kB / 0.7891 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2075, allocations: 0 / 0.7891 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2075, allocations: 0 / 0.7891 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2075, allocations: 0 / 0.7891 GB, free: 7.633 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.0006233/0.2081, allocations: 498.9 kB / 0.7895 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.2082, allocations: 12.03 kB / 0.7896 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.8e-05/0.2082, allocations: 50.73 kB / 0.7896 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/0.2087, allocations: 68.67 kB / 0.7897 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.2089, allocations: 250.7 kB / 0.7899 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2089, allocations: 4.656 kB / 0.7899 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.209, allocations: 16.36 kB / 0.7899 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.2094, allocations: 308.5 kB / 0.7902 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2094, allocations: 7.938 kB / 0.7902 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.2095, allocations: 7.938 kB / 0.7902 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.2e-05/0.2095, allocations: 28.27 kB / 0.7903 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.21, allocations: 256.6 kB / 0.7905 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.2113, allocations: 1.509 MB / 0.792 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.2117, allocations: 253.1 kB / 0.7922 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.2119, allocations: 133.6 kB / 0.7924 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.212, allocations: 0 / 0.7924 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.212, allocations: 38.5 kB / 0.7924 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.212, allocations: 4 kB / 0.7924 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.000661/0.2127, allocations: 337.4 kB / 0.7927 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.2127, allocations: 81.05 kB / 0.7928 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2129, allocations: 179.1 kB / 0.793 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.2129, allocations: 25.7 kB / 0.793 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.213, allocations: 144.1 kB / 0.7931 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.213, allocations: 51.2 kB / 0.7932 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.322e-05/0.2131, allocations: 49.83 kB / 0.7932 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.2132, allocations: 326.8 kB / 0.7935 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.2134, allocations: 108.8 kB / 0.7936 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.2136, allocations: 167.5 kB / 0.7938 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.214, allocations: 274.7 kB / 0.7941 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.214, allocations: 0 / 0.7941 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005027/0.2145, allocations: 316.2 kB / 0.7944 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.2146, allocations: 4.219 kB / 0.7944 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2146, allocations: 8 kB / 0.7944 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.2146, allocations: 3.938 kB / 0.7944 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.2148, allocations: 63.88 kB / 0.7944 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2149, allocations: 4 kB / 0.7944 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.215, allocations: 27.81 kB / 0.7945 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.2151, allocations: 15.94 kB / 0.7945 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002246/0.2153, allocations: 192.1 kB / 0.7947 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001983/0.2155, allocations: 155 kB / 0.7948 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003519/0.2159, allocations: 247.5 kB / 0.795 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/0.2159, allocations: 7.984 kB / 0.7951 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000448/0.2163, allocations: 273.1 kB / 0.7953 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.2163, allocations: 8 kB / 0.7953 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-06/0.2163, allocations: 0 / 0.7953 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-06/0.2164, allocations: 7.984 kB / 0.7953 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.2166, allocations: 51.91 kB / 0.7954 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2166, allocations: 8.188 kB / 0.7954 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.2167, allocations: 31.81 kB / 0.7954 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.2168, allocations: 12 kB / 0.7954 GB, free: 0.6328 MB / 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.149e-05/0.2168, allocations: 193.2 kB / 0.7956 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.2169, allocations: 15.81 kB / 0.7956 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.2174, allocations: 278.1 kB / 0.7959 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2174, allocations: 4 kB / 0.7959 GB, free: 144 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.2174, allocations: 4 kB / 0.7959 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2174, allocations: 0 / 0.7959 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008899/0.2183, allocations: 0.6771 MB / 0.7966 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2183, allocations: 4 kB / 0.7966 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.2185, allocations: 48.08 kB / 0.7966 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2186, allocations: 3.938 kB / 0.7966 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.2186, allocations: 4 kB / 0.7966 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.2186, allocations: 0 / 0.7966 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.2186, allocations: 11.94 kB / 0.7966 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.2191, allocations: 449.9 kB / 0.7971 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.2192, allocations: 120.8 kB / 0.7972 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.2192, allocations: 3.938 kB / 0.7972 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.2194, allocations: 23.97 kB / 0.7972 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.2195, allocations: 15.92 kB / 0.7972 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.2195, allocations: 8 kB / 0.7972 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.841e-05/0.2196, allocations: 131.8 kB / 0.7974 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2196, allocations: 0 / 0.7974 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004205/0.22, allocations: 75.84 kB / 0.7974 GB, free: 14.46 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.0007023/0.2207, allocations: 0.9842 MB / 0.7984 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006434/0.2214, allocations: 387.5 kB / 0.7988 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2214, allocations: 0 / 0.7988 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.2216, allocations: 113.1 kB / 0.7989 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.222, allocations: 48.19 kB / 0.7989 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.2245, allocations: 2.453 MB / 0.8013 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.2248, allocations: 0.7441 MB / 0.802 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001777/0.225, allocations: 73.47 kB / 0.8021 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.858e-05/0.2251, allocations: 51.42 kB / 0.8022 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2251, allocations: 3.938 kB / 0.8022 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3252/0.5503, allocations: 4.142 MB / 0.8062 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.425, allocations: 6 kB / 0.8062 GB, free: 5.371 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)