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.554/1.554, allocations: 249.3 MB / 261.8 MB, free: 5.895 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.001058/0.001058, allocations: 189.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009378/0.000938, allocations: 96.27 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.893e-05/3.895e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2565, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9131/1.17, allocations: 159.5 MB / 1.048 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/1.17, allocations: 95.69 kB / 1.048 GB, free: 9.383 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.04703/1.217, allocations: 19.35 MB / 1.067 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.573e-06/1.217, allocations: 0 / 1.067 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.369e-05/1.217, allocations: 8 kB / 1.067 GB, free: 9.48 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.00104/1.218, allocations: 0.6009 MB / 1.067 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.218, allocations: 8.031 kB / 1.067 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.068e-05/1.218, allocations: 68.22 kB / 1.067 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007327/1.219, allocations: 99.5 kB / 1.067 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/1.219, allocations: 302.1 kB / 1.068 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/1.219, allocations: 19.58 kB / 1.068 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/1.22, allocations: 31.23 kB / 1.068 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007086/1.22, allocations: 448.4 kB / 1.068 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/1.22, allocations: 7.938 kB / 1.068 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/1.22, allocations: 6.875 kB / 1.068 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-05/1.22, allocations: 32.39 kB / 1.068 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/1.221, allocations: 307.9 kB / 1.068 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/1.223, allocations: 2.057 MB / 1.07 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/1.224, allocations: 188.7 kB / 1.071 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/1.224, allocations: 134.8 kB / 1.071 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/1.224, allocations: 8.297 kB / 1.071 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/1.224, allocations: 38.5 kB / 1.071 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 4.098e-06/1.224, allocations: 0 / 1.071 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0004743/1.225, allocations: 198.2 kB / 1.071 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/1.225, allocations: 59.36 kB / 1.071 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/1.225, allocations: 231.2 kB / 1.071 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/1.225, allocations: 33.58 kB / 1.071 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/1.225, allocations: 202.6 kB / 1.072 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/1.225, allocations: 65.22 kB / 1.072 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/1.225, allocations: 11.94 kB / 1.072 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.225, allocations: 333.4 kB / 1.072 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/1.226, allocations: 61.67 kB / 1.072 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/1.226, allocations: 179.8 kB / 1.072 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/1.226, allocations: 98.47 kB / 1.072 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.226, allocations: 7.938 kB / 1.072 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004844/1.226, allocations: 296.3 kB / 1.073 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006706/1.227, allocations: 1.395 MB / 1.074 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.227, allocations: 7.984 kB / 1.074 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/1.227, allocations: 31.78 kB / 1.074 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/1.228, allocations: 75.27 kB / 1.074 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004322/1.228, allocations: 0.5575 MB / 1.075 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/1.228, allocations: 42.73 kB / 1.075 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/1.228, allocations: 11.19 kB / 1.075 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/1.228, allocations: 6.031 kB / 1.075 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003558/1.229, allocations: 236.9 kB / 1.075 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/1.229, allocations: 4 kB / 1.075 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/1.229, allocations: 4 kB / 1.075 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/1.229, allocations: 75.89 kB / 1.075 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/1.229, allocations: 4.438 kB / 1.075 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/1.229, allocations: 50.5 kB / 1.075 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/1.229, allocations: 8 kB / 1.075 GB, free: 1.277 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.0001207/1.229, allocations: 130.9 kB / 1.075 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/1.229, allocations: 27.62 kB / 1.075 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.38e-05/1.23, allocations: 31.94 kB / 1.075 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/1.23, allocations: 8 kB / 1.075 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.23, allocations: 0 / 1.075 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.23, allocations: 0 / 1.075 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009878/1.231, allocations: 0.6981 MB / 1.076 GB, free: 444 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.231, allocations: 0 / 1.076 GB, free: 444 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/1.231, allocations: 51.91 kB / 1.076 GB, free: 392 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-05/1.231, allocations: 24.34 kB / 1.076 GB, free: 368 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/1.231, allocations: 11.55 kB / 1.076 GB, free: 360 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/1.232, allocations: 1.327 MB / 1.077 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.232, allocations: 0 / 1.077 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/1.233, allocations: 344.4 kB / 1.078 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/1.233, allocations: 127.5 kB / 1.078 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/1.233, allocations: 3.688 kB / 1.078 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/1.233, allocations: 23.98 kB / 1.078 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/1.233, allocations: 15.53 kB / 1.078 GB, free: 14.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/1.233, allocations: 8 kB / 1.078 GB, free: 14.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002014/1.233, allocations: 180.9 kB / 1.078 GB, free: 14.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.233, allocations: 0 / 1.078 GB, free: 14.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005981/1.234, allocations: 143.8 kB / 1.078 GB, free: 14.15 MB / 0.698 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.0008976/1.235, allocations: 1.019 MB / 1.079 GB, free: 13.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006151/1.236, allocations: 312 kB / 1.079 GB, free: 12.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.236, allocations: 0 / 1.079 GB, free: 12.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002792/1.236, allocations: 194.8 kB / 1.08 GB, free: 12.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/1.236, allocations: 62.41 kB / 1.08 GB, free: 12.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009898/1.237, allocations: 469.7 kB / 1.08 GB, free: 12.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/1.238, allocations: 0.8113 MB / 1.081 GB, free: 11.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002856/1.238, allocations: 81.98 kB / 1.081 GB, free: 11.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/1.238, allocations: 87.72 kB / 1.081 GB, free: 11.3 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/1.238, allocations: 0 / 1.081 GB, free: 11.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/1.259, allocations: 5.864 MB / 1.087 GB, free: 5.598 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/1.259, allocations: 187.9 kB / 1.087 GB, free: 5.375 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/3.332, allocations: 4 kB / 1.087 GB, free: 5.371 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)