Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.516/2.516, allocations: 284.7 MB / 297.2 MB, free: 6.355 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.001493/0.001493, allocations: 168.9 kB / 365.6 MB, free: 2.625 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.299/2.299, allocations: 205.1 MB / 0.6239 GB, free: 8.254 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.001432/0.001431, allocations: 98.61 kB / 0.7371 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.58e-05/4.59e-05, allocations: 4 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8167/0.8168, allocations: 115.2 MB / 0.9699 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2989/1.116, allocations: 165 MB / 1.131 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/1.116, allocations: 89.8 kB / 1.131 GB, free: 3.293 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.04908/1.165, allocations: 11.69 MB / 1.143 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.324e-06/1.165, allocations: 0 / 1.143 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.55e-05/1.165, allocations: 4 kB / 1.143 GB, free: 7.551 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001019/1.166, allocations: 498.2 kB / 1.143 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/1.166, allocations: 12.03 kB / 1.143 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/1.167, allocations: 55.77 kB / 1.143 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009637/1.168, allocations: 80.84 kB / 1.143 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/1.168, allocations: 264.9 kB / 1.143 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/1.168, allocations: 16.44 kB / 1.143 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/1.168, allocations: 16 kB / 1.143 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007773/1.169, allocations: 296.4 kB / 1.144 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.169, allocations: 3.938 kB / 1.144 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/1.169, allocations: 12 kB / 1.144 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.232e-05/1.169, allocations: 16.42 kB / 1.144 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/1.17, allocations: 193.6 kB / 1.144 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/1.172, allocations: 1.5 MB / 1.145 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/1.173, allocations: 198.1 kB / 1.146 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/1.173, allocations: 28.86 kB / 1.146 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/1.173, allocations: 7.469 kB / 1.146 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/1.173, allocations: 42.48 kB / 1.146 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.334e-06/1.173, allocations: 4 kB / 1.146 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004405/1.174, allocations: 114.3 kB / 1.146 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/1.174, allocations: 55.36 kB / 1.146 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/1.174, allocations: 187.6 kB / 1.146 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/1.174, allocations: 29.7 kB / 1.146 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/1.174, allocations: 167.7 kB / 1.146 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/1.174, allocations: 35.69 kB / 1.146 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/1.174, allocations: 4 kB / 1.146 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.174, allocations: 326.8 kB / 1.147 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/1.174, allocations: 39.98 kB / 1.147 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/1.175, allocations: 96.58 kB / 1.147 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/1.175, allocations: 59.91 kB / 1.147 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.175, allocations: 0 / 1.147 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005491/1.175, allocations: 202 kB / 1.147 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/1.175, allocations: 4 kB / 1.147 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.175, allocations: 4 kB / 1.147 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/1.176, allocations: 24.84 kB / 1.147 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/1.176, allocations: 35.92 kB / 1.147 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/1.177, allocations: 1.303 MB / 1.148 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/1.178, allocations: 24.02 kB / 1.148 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/1.178, allocations: 15.61 kB / 1.148 GB, free: 1.109 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001305/1.178, allocations: 111 kB / 1.148 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/1.178, allocations: 23.77 kB / 1.148 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/1.178, allocations: 17.52 kB / 1.148 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.178, allocations: 3.984 kB / 1.148 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/1.178, allocations: 0 / 1.148 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/1.178, allocations: 3.938 kB / 1.148 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009108/1.179, allocations: 473.8 kB / 1.149 GB, free: 436 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.179, allocations: 0 / 1.149 GB, free: 436 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/1.179, allocations: 11.94 kB / 1.149 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001436/1.179, allocations: 24.84 kB / 1.149 GB, free: 396 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/1.179, allocations: 0 / 1.149 GB, free: 396 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/1.181, allocations: 1.311 MB / 1.15 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.341e-06/1.181, allocations: 3.938 kB / 1.15 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/1.181, allocations: 224.3 kB / 1.15 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/1.182, allocations: 96.86 kB / 1.151 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/1.182, allocations: 7.984 kB / 1.151 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/1.182, allocations: 4 kB / 1.151 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/1.182, allocations: 8.984 kB / 1.151 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/1.182, allocations: 4 kB / 1.151 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002067/1.182, allocations: 145.5 kB / 1.151 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.61e-07/1.182, allocations: 5.875 kB / 1.151 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004751/1.183, allocations: 55.84 kB / 1.151 GB, free: 14.36 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007703/1.183, allocations: 0.7474 MB / 1.151 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006027/1.184, allocations: 226.4 kB / 1.152 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.184, allocations: 4 kB / 1.152 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/1.184, allocations: 150.6 kB / 1.152 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/1.185, allocations: 37.52 kB / 1.152 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009712/1.186, allocations: 296.9 kB / 1.152 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/1.186, allocations: 0.7597 MB / 1.153 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001968/1.187, allocations: 27.11 kB / 1.153 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/1.187, allocations: 55.41 kB / 1.153 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of SimCode: time 9.82e-07/1.187, allocations: 0 / 1.153 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/1.218, allocations: 3.589 MB / 1.157 GB, free: 8.668 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003422/1.219, allocations: 185.7 kB / 1.157 GB, free: 8.438 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/3.561, allocations: 0 / 1.157 GB, free: 8.438 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)