Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001194/0.001194, allocations: 179.8 kB / 371.6 MB, free: 3.441 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.781/1.781, 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.001181/0.001182, allocations: 90.48 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.519e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2908, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9706/1.262, allocations: 166.8 MB / 1.143 GB, free: 24.88 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/1.262, allocations: 91.12 kB / 1.143 GB, free: 24.84 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.04836/1.31, allocations: 19.36 MB / 1.162 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.413e-06/1.31, allocations: 4 kB / 1.162 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.953e-05/1.31, allocations: 4 kB / 1.162 GB, free: 14.91 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.0008917/1.311, allocations: 0.5969 MB / 1.162 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.311, allocations: 8.031 kB / 1.162 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.997e-05/1.311, allocations: 71.81 kB / 1.162 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007137/1.312, allocations: 105.2 kB / 1.162 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/1.313, allocations: 290.5 kB / 1.163 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/1.313, allocations: 21.22 kB / 1.163 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/1.313, allocations: 25.94 kB / 1.163 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/1.313, allocations: 453.9 kB / 1.163 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.313, allocations: 1.453 kB / 1.163 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/1.313, allocations: 10.56 kB / 1.163 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.6e-05/1.313, allocations: 29.39 kB / 1.163 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/1.314, allocations: 314.6 kB / 1.164 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/1.316, allocations: 2.06 MB / 1.166 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/1.316, allocations: 196.4 kB / 1.166 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/1.316, allocations: 136.7 kB / 1.166 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/1.316, allocations: 0 / 1.166 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/1.316, allocations: 39.2 kB / 1.166 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 9.72e-07/1.316, allocations: 4 kB / 1.166 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0003939/1.317, allocations: 194.4 kB / 1.166 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/1.317, allocations: 55.41 kB / 1.166 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/1.317, allocations: 226.8 kB / 1.166 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/1.317, allocations: 32.95 kB / 1.166 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.893e-05/1.317, allocations: 212.7 kB / 1.167 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/1.317, allocations: 59.44 kB / 1.167 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/1.317, allocations: 3.375 kB / 1.167 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.701e-05/1.317, allocations: 340.2 kB / 1.167 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/1.317, allocations: 65.62 kB / 1.167 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/1.318, allocations: 184.1 kB / 1.167 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/1.318, allocations: 95.75 kB / 1.167 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.318, allocations: 0 / 1.167 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004218/1.318, allocations: 302.3 kB / 1.168 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002932/1.318, allocations: 1.398 MB / 1.169 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.318, allocations: 4 kB / 1.169 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/1.319, allocations: 32.92 kB / 1.169 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/1.319, allocations: 72.69 kB / 1.169 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002864/1.319, allocations: 0.5568 MB / 1.17 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/1.319, allocations: 43.52 kB / 1.17 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/1.319, allocations: 15.44 kB / 1.17 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/1.319, allocations: 4 kB / 1.17 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003041/1.32, allocations: 229.2 kB / 1.17 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.32, allocations: 4 kB / 1.17 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/1.32, allocations: 8 kB / 1.17 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/1.32, allocations: 75.64 kB / 1.17 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/1.32, allocations: 5.781 kB / 1.17 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/1.32, allocations: 53.33 kB / 1.17 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/1.32, allocations: 12 kB / 1.17 GB, free: 7.32 MB / 0.7448 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 7.801e-05/1.32, allocations: 120.5 kB / 1.17 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/1.32, allocations: 28.92 kB / 1.17 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.981e-05/1.321, allocations: 33.23 kB / 1.17 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.321, allocations: 0 / 1.17 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.321, allocations: 4.875 kB / 1.17 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.321, allocations: 1.547 kB / 1.17 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007848/1.321, allocations: 0.7127 MB / 1.171 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.321, allocations: 0 / 1.171 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/1.322, allocations: 43.38 kB / 1.171 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.43e-05/1.322, allocations: 34.08 kB / 1.171 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/1.322, allocations: 7.312 kB / 1.171 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007152/1.322, allocations: 1.318 MB / 1.172 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.322, allocations: 5.203 kB / 1.172 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/1.323, allocations: 339.6 kB / 1.173 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/1.323, allocations: 121.1 kB / 1.173 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/1.323, allocations: 9.312 kB / 1.173 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/1.323, allocations: 23.84 kB / 1.173 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/1.323, allocations: 20 kB / 1.173 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/1.323, allocations: 4 kB / 1.173 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001465/1.323, allocations: 177.7 kB / 1.173 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/1.323, allocations: 0 / 1.173 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004834/1.324, allocations: 143 kB / 1.173 GB, free: 4.398 MB / 0.7448 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.0005598/1.324, allocations: 1.015 MB / 1.174 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004947/1.325, allocations: 312.2 kB / 1.174 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.325, allocations: 0 / 1.174 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/1.325, allocations: 196.7 kB / 1.175 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/1.325, allocations: 68.33 kB / 1.175 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000815/1.326, allocations: 477.8 kB / 1.175 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/1.327, allocations: 0.8081 MB / 1.176 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000274/1.327, allocations: 85.56 kB / 1.176 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/1.327, allocations: 82.53 kB / 1.176 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/1.327, allocations: 0 / 1.176 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/1.347, allocations: 5.846 MB / 1.182 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/1.347, allocations: 181.3 kB / 1.182 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.187/3.534, allocations: 7.938 kB / 1.182 GB, free: 12.1 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)