Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 249.5 MB / 257 MB, free: 6.863 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.001043/0.001043, allocations: 184.9 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0009437/0.0009436, allocations: 86.28 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.809e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2096, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7582/0.9678, allocations: 159.8 MB / 1.041 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.9681, allocations: 93.17 kB / 1.041 GB, free: 11.79 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.04747/1.016, allocations: 19.27 MB / 1.06 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.243e-06/1.016, allocations: 0 / 1.06 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.461e-05/1.016, allocations: 11.94 kB / 1.06 GB, free: 12.09 MB / 0.6823 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.001267/1.017, allocations: 0.59 MB / 1.061 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/1.017, allocations: 8.031 kB / 1.061 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008908/1.018, allocations: 107.5 kB / 1.061 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/1.018, allocations: 295.9 kB / 1.061 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/1.018, allocations: 8 kB / 1.061 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/1.019, allocations: 20 kB / 1.061 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004972/1.019, allocations: 280.6 kB / 1.062 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006293/1.02, allocations: 405.3 kB / 1.062 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/1.02, allocations: 0 / 1.062 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/1.02, allocations: 4 kB / 1.062 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.388e-05/1.02, allocations: 24.77 kB / 1.062 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/1.022, allocations: 1.988 MB / 1.064 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/1.023, allocations: 177.2 kB / 1.064 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/1.023, allocations: 133.4 kB / 1.064 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/1.023, allocations: 4 kB / 1.064 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/1.023, allocations: 30.56 kB / 1.064 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.414e-06/1.023, allocations: 0 / 1.064 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0004595/1.023, allocations: 188.9 kB / 1.064 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/1.024, allocations: 55.41 kB / 1.064 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/1.024, allocations: 196 kB / 1.065 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/1.024, allocations: 25.7 kB / 1.065 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/1.024, allocations: 206.1 kB / 1.065 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/1.024, allocations: 73.55 kB / 1.065 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/1.024, allocations: 0 / 1.065 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.024, allocations: 333.6 kB / 1.065 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/1.024, allocations: 57.67 kB / 1.065 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/1.024, allocations: 183.5 kB / 1.065 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/1.025, allocations: 90.75 kB / 1.066 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.025, allocations: 0 / 1.066 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004988/1.025, allocations: 267.2 kB / 1.066 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007056/1.026, allocations: 1.399 MB / 1.067 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.026, allocations: 7.984 kB / 1.067 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/1.026, allocations: 28.16 kB / 1.067 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/1.026, allocations: 75.7 kB / 1.067 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004242/1.027, allocations: 0.5509 MB / 1.068 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/1.027, allocations: 35.73 kB / 1.068 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/1.027, allocations: 12 kB / 1.068 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/1.027, allocations: 4.781 kB / 1.068 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003253/1.028, allocations: 196.3 kB / 1.068 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.028, allocations: 3.984 kB / 1.068 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/1.028, allocations: 8 kB / 1.068 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/1.028, allocations: 79.62 kB / 1.068 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/1.028, allocations: 11.92 kB / 1.068 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/1.028, allocations: 31.83 kB / 1.068 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/1.028, allocations: 15.69 kB / 1.068 GB, free: 4.176 MB / 0.6823 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.0001308/1.028, allocations: 112.8 kB / 1.068 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003433/1.029, allocations: 186.6 kB / 1.068 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/1.029, allocations: 23.72 kB / 1.069 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.461e-05/1.029, allocations: 25.45 kB / 1.069 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/1.029, allocations: 4 kB / 1.069 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/1.029, allocations: 0 / 1.069 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/1.029, allocations: 7.938 kB / 1.069 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009283/1.03, allocations: 0.6373 MB / 1.069 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/1.03, allocations: 4 kB / 1.069 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/1.03, allocations: 43.28 kB / 1.069 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/1.03, allocations: 32.78 kB / 1.069 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/1.03, allocations: 7.891 kB / 1.069 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/1.031, allocations: 1.254 MB / 1.07 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.031, allocations: 3.938 kB / 1.07 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/1.032, allocations: 327.5 kB / 1.071 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/1.032, allocations: 119.7 kB / 1.071 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/1.032, allocations: 4 kB / 1.071 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/1.032, allocations: 15.98 kB / 1.071 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/1.032, allocations: 18.84 kB / 1.071 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/1.032, allocations: 4 kB / 1.071 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001477/1.032, allocations: 152 kB / 1.071 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/1.032, allocations: 4 kB / 1.071 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006407/1.033, allocations: 131.4 kB / 1.071 GB, free: 1.102 MB / 0.6823 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.0008235/1.034, allocations: 0.9949 MB / 1.072 GB, free: 104 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005988/1.034, allocations: 287.6 kB / 1.072 GB, free: 15.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.034, allocations: 192 / 1.072 GB, free: 15.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/1.035, allocations: 190.6 kB / 1.073 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/1.035, allocations: 57.7 kB / 1.073 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/1.036, allocations: 452.1 kB / 1.073 GB, free: 15.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/1.036, allocations: 0.8076 MB / 1.074 GB, free: 14.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003158/1.037, allocations: 70 kB / 1.074 GB, free: 14.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/1.037, allocations: 88.41 kB / 1.074 GB, free: 14.3 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/1.037, allocations: 0 / 1.074 GB, free: 14.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/1.062, allocations: 5.054 MB / 1.079 GB, free: 9.297 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/1.063, allocations: 153.5 kB / 1.079 GB, free: 9.102 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.743, allocations: 0 / 1.079 GB, free: 9.102 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)