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.735/1.735, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001384/0.001384, allocations: 184.5 kB / 377.1 MB, free: 1.512 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.693/1.693, allocations: 205.4 MB / 0.6366 GB, free: 8.613 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.000942/0.0009419, allocations: 97.55 kB / 0.7509 GB, free: 62.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004199, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2908, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.771/1.062, allocations: 166.8 MB / 1.151 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.062, allocations: 91.52 kB / 1.151 GB, free: 13.4 MB / 0.7292 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.04293/1.105, allocations: 19.5 MB / 1.17 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.134e-06/1.105, allocations: 0 / 1.17 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.458e-05/1.105, allocations: 12 kB / 1.17 GB, free: 11.96 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.001081/1.106, allocations: 0.6252 MB / 1.171 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.106, allocations: 12.02 kB / 1.171 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.849e-05/1.106, allocations: 70.53 kB / 1.171 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007935/1.107, allocations: 91.56 kB / 1.171 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/1.108, allocations: 305.5 kB / 1.172 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/1.108, allocations: 20.66 kB / 1.172 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/1.108, allocations: 31.98 kB / 1.172 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/1.109, allocations: 486.4 kB / 1.172 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.109, allocations: 0 / 1.172 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/1.109, allocations: 12 kB / 1.172 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.108e-05/1.109, allocations: 36.62 kB / 1.172 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007442/1.11, allocations: 387.3 kB / 1.172 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/1.112, allocations: 2.052 MB / 1.174 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/1.112, allocations: 236.8 kB / 1.175 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/1.113, allocations: 4 kB / 1.175 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/1.113, allocations: 36.06 kB / 1.175 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/1.113, allocations: 0 / 1.175 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.001098/1.114, allocations: 467.3 kB / 1.175 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/1.114, allocations: 51.41 kB / 1.175 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/1.114, allocations: 229.9 kB / 1.175 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/1.114, allocations: 29.7 kB / 1.176 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/1.114, allocations: 211.6 kB / 1.176 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/1.114, allocations: 67.09 kB / 1.176 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/1.114, allocations: 8 kB / 1.176 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001763/1.115, allocations: 338.8 kB / 1.176 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/1.115, allocations: 104.5 kB / 1.176 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/1.115, allocations: 219.5 kB / 1.176 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/1.115, allocations: 128.8 kB / 1.177 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.115, allocations: 0 / 1.177 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007862/1.116, allocations: 387.8 kB / 1.177 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006529/1.117, allocations: 1.308 MB / 1.178 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.117, allocations: 4 kB / 1.178 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/1.117, allocations: 36.78 kB / 1.178 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/1.118, allocations: 71.89 kB / 1.178 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004368/1.118, allocations: 0.5523 MB / 1.179 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/1.118, allocations: 47.77 kB / 1.179 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/1.118, allocations: 12 kB / 1.179 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/1.118, allocations: 5.719 kB / 1.179 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006288/1.119, allocations: 311.7 kB / 1.179 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.119, allocations: 7.938 kB / 1.179 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.742e-06/1.119, allocations: 4 kB / 1.179 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/1.119, allocations: 79.89 kB / 1.179 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/1.119, allocations: 5.016 kB / 1.179 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/1.12, allocations: 48.73 kB / 1.179 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/1.12, allocations: 12 kB / 1.179 GB, free: 2.332 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (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.0002629/1.12, allocations: 246.6 kB / 1.18 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/1.12, allocations: 31.67 kB / 1.18 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.098e-05/1.12, allocations: 30.19 kB / 1.18 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.12, allocations: 3.984 kB / 1.18 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.12, allocations: 0 / 1.18 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.12, allocations: 0 / 1.18 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/1.12, allocations: 357.2 kB / 1.18 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.12, allocations: 0.9375 kB / 1.18 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/1.121, allocations: 43.97 kB / 1.18 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/1.121, allocations: 32.78 kB / 1.18 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/1.121, allocations: 0 / 1.18 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/1.122, allocations: 1.324 MB / 1.181 GB, free: 84 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.122, allocations: 4.281 kB / 1.181 GB, free: 80 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/1.123, allocations: 383.8 kB / 1.182 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/1.123, allocations: 112.8 kB / 1.182 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/1.123, allocations: 5.25 kB / 1.182 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/1.123, allocations: 23.97 kB / 1.182 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/1.123, allocations: 15.98 kB / 1.182 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/1.123, allocations: 4 kB / 1.182 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001856/1.123, allocations: 186 kB / 1.182 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/1.123, allocations: 0 / 1.182 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000572/1.124, allocations: 139.6 kB / 1.182 GB, free: 15.19 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * 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: 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.00105/1.125, allocations: 0.917 MB / 1.183 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001003/1.126, allocations: 423.9 kB / 1.183 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.126, allocations: 4 kB / 1.183 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004091/1.126, allocations: 238.7 kB / 1.184 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/1.127, allocations: 59.73 kB / 1.184 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/1.131, allocations: 3.81 MB / 1.187 GB, free: 9.594 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/1.131, allocations: 0.8072 MB / 1.188 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003155/1.132, allocations: 76.02 kB / 1.188 GB, free: 8.691 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/1.132, allocations: 83.41 kB / 1.188 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of SimCode: time 2.074e-06/1.132, allocations: 0 / 1.188 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/1.151, allocations: 5.51 MB / 1.194 GB, free: 3.328 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/1.151, allocations: 207.1 kB / 1.194 GB, free: 3.086 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/3.016, allocations: 4 kB / 1.194 GB, free: 3.082 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)