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.488/1.488, allocations: 251.9 MB / 266.8 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 178.2 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.0008768/0.000877, allocations: 101.3 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003233, allocations: 9.188 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1989, allocations: 106.3 MB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2087/0.4077, allocations: 159.6 MB / 1.056 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.408, allocations: 91.94 kB / 1.056 GB, free: 480 kB / 0.698 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.4744/0.8824, allocations: 19.5 MB / 1.075 GB, free: 153.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8824, allocations: 0 / 1.075 GB, free: 153.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.268e-05/0.8825, allocations: 11.66 kB / 1.075 GB, free: 153.1 MB / 0.698 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.000919/0.8834, allocations: 0.6239 MB / 1.076 GB, free: 152.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8834, allocations: 8.469 kB / 1.076 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.134e-05/0.8835, allocations: 74.38 kB / 1.076 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006883/0.8842, allocations: 105.3 kB / 1.076 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.8846, allocations: 288.2 kB / 1.076 GB, free: 152.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.8846, allocations: 22.44 kB / 1.076 GB, free: 152.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.8847, allocations: 26.47 kB / 1.076 GB, free: 152.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007425/0.8854, allocations: 484.3 kB / 1.077 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.8855, allocations: 1.156 kB / 1.077 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.8855, allocations: 11.16 kB / 1.077 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.8856, allocations: 29.36 kB / 1.077 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007486/0.8863, allocations: 393.6 kB / 1.077 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.8881, allocations: 2.058 MB / 1.079 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/0.8887, allocations: 227.9 kB / 1.079 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.8887, allocations: 2.5 kB / 1.079 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.8887, allocations: 31.97 kB / 1.079 GB, free: 150.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 3.477e-06/0.8887, allocations: 0 / 1.079 GB, free: 150.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.00106/0.8898, allocations: 469.7 kB / 1.08 GB, free: 149.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.8899, allocations: 54.19 kB / 1.08 GB, free: 149.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.8901, allocations: 243.7 kB / 1.08 GB, free: 149.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.8901, allocations: 31.05 kB / 1.08 GB, free: 149.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.8902, allocations: 205.2 kB / 1.08 GB, free: 149.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.8903, allocations: 63.64 kB / 1.08 GB, free: 149.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.8903, allocations: 7.594 kB / 1.08 GB, free: 149.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.757e-05/0.8903, allocations: 334.3 kB / 1.081 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.8906, allocations: 104.2 kB / 1.081 GB, free: 149.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.8909, allocations: 211.7 kB / 1.081 GB, free: 148.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.8912, allocations: 137.2 kB / 1.081 GB, free: 148.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8912, allocations: 1 kB / 1.081 GB, free: 148.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006829/0.8919, allocations: 383 kB / 1.082 GB, free: 148.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.8921, allocations: 1.309 MB / 1.083 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.8921, allocations: 3.625 kB / 1.083 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.8922, allocations: 36.14 kB / 1.083 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.8926, allocations: 74.3 kB / 1.083 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002644/0.8928, allocations: 0.5508 MB / 1.083 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.8931, allocations: 52.59 kB / 1.083 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.8932, allocations: 22.42 kB / 1.084 GB, free: 146.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.8932, allocations: 7.125 kB / 1.084 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005503/0.8937, allocations: 297.7 kB / 1.084 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.8937, allocations: 8.875 kB / 1.084 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.301e-06/0.8938, allocations: 5.094 kB / 1.084 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.8941, allocations: 80.17 kB / 1.084 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.8941, allocations: 5.75 kB / 1.084 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.8943, allocations: 47.47 kB / 1.084 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.8943, allocations: 13.22 kB / 1.084 GB, free: 146.6 MB / 0.698 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.0001829/0.8945, allocations: 239.6 kB / 1.084 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.8946, allocations: 31.92 kB / 1.084 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.692e-05/0.8946, allocations: 36.58 kB / 1.084 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.8946, allocations: 2.094 kB / 1.084 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.8947, allocations: 0 / 1.084 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8947, allocations: 1.219 kB / 1.084 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.895, allocations: 345.5 kB / 1.085 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.895, allocations: 4 kB / 1.085 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.8952, allocations: 56.66 kB / 1.085 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.34e-05/0.8953, allocations: 25.09 kB / 1.085 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.8954, allocations: 1.312 kB / 1.085 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006846/0.8961, allocations: 1.32 MB / 1.086 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8961, allocations: 4.891 kB / 1.086 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.8967, allocations: 388.3 kB / 1.086 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.8968, allocations: 121.5 kB / 1.086 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.8969, allocations: 5 kB / 1.086 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.8971, allocations: 16.83 kB / 1.086 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.8971, allocations: 22.22 kB / 1.086 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.8972, allocations: 8.531 kB / 1.086 GB, free: 144.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002005/0.8974, allocations: 176.8 kB / 1.087 GB, free: 144.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8974, allocations: 1.281 kB / 1.087 GB, free: 144.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007695/0.8982, allocations: 144.1 kB / 1.087 GB, free: 144.1 MB / 0.698 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.001008/0.8992, allocations: 0.9178 MB / 1.088 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.9004, allocations: 426 kB / 1.088 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.9004, allocations: 0.6562 kB / 1.088 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.9009, allocations: 226.9 kB / 1.088 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.9013, allocations: 64.97 kB / 1.088 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.9046, allocations: 3.824 MB / 1.092 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.9048, allocations: 0.8124 MB / 1.093 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002563/0.9051, allocations: 69.09 kB / 1.093 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.9052, allocations: 87.09 kB / 1.093 GB, free: 138.7 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.9052, allocations: 0 / 1.093 GB, free: 138.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.9225, allocations: 5.512 MB / 1.098 GB, free: 135 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/0.9228, allocations: 219.5 kB / 1.099 GB, free: 134.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.669, allocations: 4 kB / 1.099 GB, free: 134.7 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)