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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.822/1.822, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001044/0.001044, allocations: 179.3 kB / 371.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.2 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 90.2 kB / 0.745 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.816e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2911, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8542/1.145, allocations: 155 MB / 1.131 GB, free: 33.34 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/1.146, allocations: 98.12 kB / 1.131 GB, free: 33.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02979/1.176, allocations: 13.35 MB / 1.144 GB, free: 26.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.013e-06/1.176, allocations: 0 / 1.144 GB, free: 26.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.767e-05/1.176, allocations: 15.92 kB / 1.144 GB, free: 26.36 MB / 0.7448 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.0006719/1.176, allocations: 475.1 kB / 1.145 GB, free: 25.89 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/1.176, allocations: 11.97 kB / 1.145 GB, free: 25.88 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.692e-05/1.176, allocations: 53.05 kB / 1.145 GB, free: 25.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/1.177, allocations: 78.05 kB / 1.145 GB, free: 25.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/1.177, allocations: 240.8 kB / 1.145 GB, free: 25.53 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/1.177, allocations: 19.45 kB / 1.145 GB, free: 25.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/1.177, allocations: 16.11 kB / 1.145 GB, free: 25.51 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/1.178, allocations: 284.6 kB / 1.145 GB, free: 25.3 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.178, allocations: 0 / 1.145 GB, free: 25.3 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/1.178, allocations: 4 kB / 1.145 GB, free: 25.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/1.178, allocations: 27.64 kB / 1.146 GB, free: 25.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/1.178, allocations: 226.5 kB / 1.146 GB, free: 25.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/1.18, allocations: 1.507 MB / 1.147 GB, free: 23.76 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/1.18, allocations: 238.2 kB / 1.147 GB, free: 23.6 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/1.18, allocations: 117.4 kB / 1.148 GB, free: 23.53 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/1.18, allocations: 0.6094 kB / 1.148 GB, free: 23.53 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/1.18, allocations: 49.81 kB / 1.148 GB, free: 23.47 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.853e-06/1.18, allocations: 0.9375 kB / 1.148 GB, free: 23.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0005142/1.181, allocations: 217.4 kB / 1.148 GB, free: 23.33 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/1.181, allocations: 77.67 kB / 1.148 GB, free: 23.24 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/1.181, allocations: 166.4 kB / 1.148 GB, free: 23.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/1.181, allocations: 25.7 kB / 1.148 GB, free: 23.06 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/1.181, allocations: 145.2 kB / 1.148 GB, free: 22.94 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/1.181, allocations: 51.19 kB / 1.148 GB, free: 22.9 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/1.181, allocations: 6.812 kB / 1.148 GB, free: 22.89 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/1.181, allocations: 329.5 kB / 1.149 GB, free: 22.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/1.181, allocations: 87.06 kB / 1.149 GB, free: 22.53 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/1.182, allocations: 150.5 kB / 1.149 GB, free: 22.4 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/1.182, allocations: 116.5 kB / 1.149 GB, free: 22.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.182, allocations: 0 / 1.149 GB, free: 22.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003924/1.182, allocations: 277.9 kB / 1.149 GB, free: 22.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002124/1.182, allocations: 0.6986 MB / 1.15 GB, free: 21.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.182, allocations: 4 kB / 1.15 GB, free: 21.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.182, allocations: 11.94 kB / 1.15 GB, free: 21.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/1.183, allocations: 54.91 kB / 1.15 GB, free: 21.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/1.183, allocations: 4.891 kB / 1.15 GB, free: 21.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/1.183, allocations: 37.91 kB / 1.15 GB, free: 21.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/1.183, allocations: 6.828 kB / 1.15 GB, free: 21.33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/1.183, allocations: 5.094 kB / 1.15 GB, free: 21.32 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002954/1.183, allocations: 211.1 kB / 1.15 GB, free: 21.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/1.183, allocations: 0 / 1.15 GB, free: 21.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/1.183, allocations: 4.609 kB / 1.15 GB, free: 21.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/1.184, allocations: 54.72 kB / 1.15 GB, free: 21.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/1.184, allocations: 4.797 kB / 1.15 GB, free: 21.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/1.184, allocations: 28.73 kB / 1.15 GB, free: 21.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/1.184, allocations: 20.09 kB / 1.15 GB, free: 21.11 MB / 0.7448 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 6.506e-05/1.184, allocations: 111.1 kB / 1.15 GB, free: 21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.027e-05/1.184, allocations: 19.8 kB / 1.15 GB, free: 20.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/1.184, allocations: 253.1 kB / 1.151 GB, free: 20.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.184, allocations: 4 kB / 1.151 GB, free: 20.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.184, allocations: 0.5625 kB / 1.151 GB, free: 20.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.184, allocations: 0.6094 kB / 1.151 GB, free: 20.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008577/1.185, allocations: 0.6517 MB / 1.151 GB, free: 20.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.185, allocations: 4 kB / 1.151 GB, free: 20.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/1.186, allocations: 43.2 kB / 1.151 GB, free: 20.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.186, allocations: 4.609 kB / 1.151 GB, free: 20.26 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/1.186, allocations: 6.625 kB / 1.151 GB, free: 20.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.186, allocations: 8.547 kB / 1.151 GB, free: 20.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.186, allocations: 8.078 kB / 1.151 GB, free: 20.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/1.186, allocations: 482.4 kB / 1.152 GB, free: 19.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.366e-05/1.186, allocations: 109.6 kB / 1.152 GB, free: 19.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/1.186, allocations: 7.797 kB / 1.152 GB, free: 19.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/1.186, allocations: 23.34 kB / 1.152 GB, free: 19.67 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/1.186, allocations: 23.92 kB / 1.152 GB, free: 19.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/1.186, allocations: 11.89 kB / 1.152 GB, free: 19.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.786e-05/1.187, allocations: 134.9 kB / 1.152 GB, free: 19.53 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.187, allocations: 0 / 1.152 GB, free: 19.53 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004379/1.187, allocations: 87.72 kB / 1.152 GB, free: 19.45 MB / 0.7448 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.0006121/1.188, allocations: 1.373 MB / 1.154 GB, free: 18.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005133/1.188, allocations: 329.9 kB / 1.154 GB, free: 17.92 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.188, allocations: 0 / 1.154 GB, free: 17.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/1.188, allocations: 101.6 kB / 1.154 GB, free: 17.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/1.189, allocations: 35.86 kB / 1.154 GB, free: 17.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008086/1.189, allocations: 392.2 kB / 1.154 GB, free: 17.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/1.19, allocations: 0.7523 MB / 1.155 GB, free: 16.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002332/1.19, allocations: 79.55 kB / 1.155 GB, free: 16.71 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/1.19, allocations: 47.88 kB / 1.155 GB, free: 16.7 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.19, allocations: 0 / 1.155 GB, free: 16.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/1.209, allocations: 3.954 MB / 1.159 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/1.209, allocations: 169.9 kB / 1.159 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.942, allocations: 0 / 1.159 GB, free: 14.26 MB / 0.7448 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/linux/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)