Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad",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.603/2.603, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001486/0.001486, allocations: 180.8 kB / 360.6 MB, free: 7.262 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.048/2.048, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001081/0.001081, allocations: 91.52 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.528e-05, allocations: 4 kB / 0.8509 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8332/0.8332, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2745/1.108, allocations: 164.9 MB / 1.124 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/1.108, allocations: 89.67 kB / 1.125 GB, free: 7.34 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.07548/1.184, allocations: 19.28 MB / 1.143 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.764e-06/1.184, allocations: 4 kB / 1.143 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.152e-05/1.184, allocations: 12 kB / 1.143 GB, free: 3.953 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001428/1.185, allocations: 0.5882 MB / 1.144 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.185, allocations: 12.03 kB / 1.144 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/1.186, allocations: 103.4 kB / 1.144 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/1.187, allocations: 290.4 kB / 1.144 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/1.187, allocations: 8 kB / 1.144 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-05/1.187, allocations: 16 kB / 1.144 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007517/1.188, allocations: 281.5 kB / 1.145 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009087/1.189, allocations: 406 kB / 1.145 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/1.189, allocations: 0 / 1.145 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/1.189, allocations: 0 / 1.145 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.443e-05/1.189, allocations: 32.77 kB / 1.145 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003254/1.192, allocations: 1.99 MB / 1.147 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/1.193, allocations: 182.8 kB / 1.147 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/1.193, allocations: 128.8 kB / 1.147 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/1.194, allocations: 5.969 kB / 1.147 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/1.194, allocations: 42.55 kB / 1.147 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 2.514e-06/1.194, allocations: 0 / 1.147 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0005994/1.194, allocations: 182.4 kB / 1.148 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/1.194, allocations: 51.41 kB / 1.148 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/1.195, allocations: 192.5 kB / 1.148 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/1.195, allocations: 25.7 kB / 1.148 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/1.195, allocations: 215.9 kB / 1.148 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.255e-05/1.195, allocations: 67.03 kB / 1.148 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/1.195, allocations: 4 kB / 1.148 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.195, allocations: 334.8 kB / 1.148 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/1.195, allocations: 56.55 kB / 1.148 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/1.195, allocations: 179.3 kB / 1.149 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/1.196, allocations: 86.02 kB / 1.149 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.196, allocations: 0 / 1.149 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007298/1.196, allocations: 271.5 kB / 1.149 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005647/1.197, allocations: 1.395 MB / 1.15 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.197, allocations: 4 kB / 1.15 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/1.197, allocations: 28.84 kB / 1.15 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/1.198, allocations: 75.84 kB / 1.15 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004716/1.198, allocations: 0.5523 MB / 1.151 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004333/1.199, allocations: 41.23 kB / 1.151 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/1.199, allocations: 12 kB / 1.151 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/1.199, allocations: 6.188 kB / 1.151 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004977/1.199, allocations: 188 kB / 1.151 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-06/1.199, allocations: 8.094 kB / 1.151 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/1.199, allocations: 8 kB / 1.151 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/1.2, allocations: 75.89 kB / 1.151 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/1.2, allocations: 7.938 kB / 1.151 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/1.2, allocations: 38.11 kB / 1.151 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/1.2, allocations: 16 kB / 1.151 GB, free: 11.27 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001318/1.201, allocations: 120.6 kB / 1.151 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004864/1.201, allocations: 178.2 kB / 1.152 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/1.201, allocations: 27.66 kB / 1.152 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.299e-05/1.201, allocations: 25.97 kB / 1.152 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/1.201, allocations: 4 kB / 1.152 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.201, allocations: 7.359 kB / 1.152 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.201, allocations: 7.953 kB / 1.152 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/1.203, allocations: 0.6316 MB / 1.152 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.203, allocations: 4 kB / 1.152 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/1.203, allocations: 44.03 kB / 1.152 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/1.203, allocations: 24.84 kB / 1.152 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/1.203, allocations: 7.953 kB / 1.152 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/1.204, allocations: 1.262 MB / 1.154 GB, free: 8.738 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.205, allocations: 2.188 kB / 1.154 GB, free: 8.738 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/1.205, allocations: 335.1 kB / 1.154 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/1.205, allocations: 112.8 kB / 1.154 GB, free: 8.246 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/1.205, allocations: 0 / 1.154 GB, free: 8.246 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/1.206, allocations: 23.97 kB / 1.154 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/1.206, allocations: 15.98 kB / 1.154 GB, free: 8.207 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/1.206, allocations: 8 kB / 1.154 GB, free: 8.199 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001912/1.206, allocations: 148.5 kB / 1.154 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.31e-07/1.206, allocations: 0 / 1.154 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000857/1.207, allocations: 131.5 kB / 1.154 GB, free: 7.93 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009608/1.208, allocations: 0.9957 MB / 1.155 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008553/1.209, allocations: 284.7 kB / 1.156 GB, free: 6.609 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.209, allocations: 0 / 1.156 GB, free: 6.609 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003704/1.209, allocations: 183.7 kB / 1.156 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/1.21, allocations: 61.84 kB / 1.156 GB, free: 6.359 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/1.211, allocations: 446 kB / 1.156 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/1.212, allocations: 0.8081 MB / 1.157 GB, free: 5.047 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000473/1.212, allocations: 79.33 kB / 1.157 GB, free: 4.977 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/1.212, allocations: 83.41 kB / 1.157 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of SimCode: time 1.132e-06/1.212, allocations: 0 / 1.157 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04819/1.261, allocations: 5.047 MB / 1.162 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000392/1.261, allocations: 145 kB / 1.162 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.654/3.915, allocations: 0 / 1.162 GB, free: 15.77 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)