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.431/1.431, allocations: 249.3 MB / 261.8 MB, free: 5.789 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 176.8 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008685/0.0008686, allocations: 86.53 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.714e-05/4.717e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.256, allocations: 106.3 MB / 0.8919 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7664/1.023, allocations: 147.7 MB / 1.036 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/1.023, allocations: 90.94 kB / 1.036 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.034/1.057, allocations: 13.37 MB / 1.049 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.683e-06/1.057, allocations: 4 kB / 1.049 GB, free: 9.113 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.573e-05/1.057, allocations: 4 kB / 1.049 GB, free: 9.109 MB / 0.6667 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.0007229/1.058, allocations: 473.8 kB / 1.05 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.058, allocations: 8.031 kB / 1.05 GB, free: 8.605 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.08e-05/1.058, allocations: 53.98 kB / 1.05 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006268/1.058, allocations: 83.5 kB / 1.05 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/1.059, allocations: 245.3 kB / 1.05 GB, free: 8.203 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/1.059, allocations: 7.625 kB / 1.05 GB, free: 8.199 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/1.059, allocations: 15.31 kB / 1.05 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/1.059, allocations: 286.2 kB / 1.05 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.059, allocations: 4 kB / 1.05 GB, free: 7.938 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/1.059, allocations: 11.17 kB / 1.05 GB, free: 7.93 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/1.059, allocations: 22.92 kB / 1.05 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/1.06, allocations: 230.5 kB / 1.051 GB, free: 7.754 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/1.061, allocations: 1.498 MB / 1.052 GB, free: 6.238 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/1.062, allocations: 232.7 kB / 1.052 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/1.062, allocations: 129.1 kB / 1.052 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/1.062, allocations: 7.969 kB / 1.052 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/1.062, allocations: 30.56 kB / 1.052 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/1.062, allocations: 0 / 1.052 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0004485/1.063, allocations: 232.2 kB / 1.053 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/1.063, allocations: 81.06 kB / 1.053 GB, free: 5.629 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/1.063, allocations: 162.6 kB / 1.053 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/1.063, allocations: 29.73 kB / 1.053 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/1.063, allocations: 138.6 kB / 1.053 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/1.063, allocations: 54.39 kB / 1.053 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/1.063, allocations: 6.938 kB / 1.053 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.063, allocations: 324.8 kB / 1.053 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/1.063, allocations: 87.34 kB / 1.054 GB, free: 4.891 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/1.064, allocations: 152.8 kB / 1.054 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/1.064, allocations: 110.3 kB / 1.054 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.064, allocations: 4.031 kB / 1.054 GB, free: 4.668 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004072/1.064, allocations: 279.1 kB / 1.054 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003445/1.065, allocations: 0.7013 MB / 1.055 GB, free: 3.711 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.065, allocations: 4 kB / 1.055 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.065, allocations: 0 / 1.055 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/1.065, allocations: 63.83 kB / 1.055 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.065, allocations: 4 kB / 1.055 GB, free: 3.645 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/1.065, allocations: 39.66 kB / 1.055 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/1.065, allocations: 4 kB / 1.055 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.904e-06/1.065, allocations: 8 kB / 1.055 GB, free: 3.598 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003467/1.066, allocations: 209.2 kB / 1.055 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/1.066, allocations: 4 kB / 1.055 GB, free: 3.445 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-06/1.066, allocations: 7.938 kB / 1.055 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/1.066, allocations: 55.89 kB / 1.055 GB, free: 3.383 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/1.066, allocations: 0 / 1.055 GB, free: 3.383 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/1.066, allocations: 35.11 kB / 1.055 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/1.066, allocations: 10.8 kB / 1.055 GB, free: 3.344 MB / 0.6667 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 () * 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.0001115/1.066, allocations: 120.6 kB / 1.055 GB, free: 3.223 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/1.066, allocations: 11.91 kB / 1.055 GB, free: 3.211 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004407/1.067, allocations: 251.1 kB / 1.056 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/1.067, allocations: 4 kB / 1.056 GB, free: 3.023 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.067, allocations: 0 / 1.056 GB, free: 3.023 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.067, allocations: 0 / 1.056 GB, free: 3.023 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009513/1.068, allocations: 0.6528 MB / 1.056 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.068, allocations: 4 kB / 1.056 GB, free: 2.395 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/1.068, allocations: 51.58 kB / 1.056 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/1.068, allocations: 0 / 1.056 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/1.068, allocations: 8.125 kB / 1.056 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.068, allocations: 7.953 kB / 1.056 GB, free: 2.332 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.068, allocations: 0 / 1.056 GB, free: 2.332 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004494/1.068, allocations: 486.7 kB / 1.057 GB, free: 1.855 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/1.068, allocations: 111.7 kB / 1.057 GB, free: 1.734 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/1.069, allocations: 7.984 kB / 1.057 GB, free: 1.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/1.069, allocations: 18.55 kB / 1.057 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/1.069, allocations: 22.94 kB / 1.057 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/1.069, allocations: 4 kB / 1.057 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001204/1.069, allocations: 140.2 kB / 1.057 GB, free: 1.566 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/1.069, allocations: 0 / 1.057 GB, free: 1.566 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004576/1.069, allocations: 87.16 kB / 1.057 GB, free: 1.488 MB / 0.6667 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 () * 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.001008/1.07, allocations: 1.37 MB / 1.058 GB, free: 120 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005483/1.071, allocations: 332.2 kB / 1.059 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.071, allocations: 0 / 1.059 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/1.071, allocations: 109.5 kB / 1.059 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/1.072, allocations: 34.66 kB / 1.059 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008311/1.072, allocations: 388.7 kB / 1.059 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/1.073, allocations: 0.7512 MB / 1.06 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000237/1.073, allocations: 81.45 kB / 1.06 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/1.073, allocations: 48.41 kB / 1.06 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of SimCode: time 1.844e-06/1.073, allocations: 0 / 1.06 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/1.088, allocations: 3.96 MB / 1.064 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/1.089, allocations: 179.1 kB / 1.064 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.73, allocations: 3.938 kB / 1.064 GB, free: 10.47 MB / 0.6823 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)