Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor",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.512/2.512, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001495/0.001495, allocations: 172.9 kB / 360.6 MB, free: 7.273 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.098/2.098, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001083/0.001082, allocations: 93.75 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.382e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7977, allocations: 115.2 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2817/1.079, allocations: 163.3 MB / 1.123 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/1.08, allocations: 91.95 kB / 1.123 GB, free: 9.027 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.06278/1.143, allocations: 16.01 MB / 1.139 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.754e-06/1.143, allocations: 0 / 1.139 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.758e-05/1.143, allocations: 8 kB / 1.139 GB, free: 8.938 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001125/1.144, allocations: 0.553 MB / 1.139 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.144, allocations: 8.031 kB / 1.139 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/1.146, allocations: 140.6 kB / 1.139 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/1.146, allocations: 290.4 kB / 1.14 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/1.146, allocations: 14.81 kB / 1.14 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/1.146, allocations: 20 kB / 1.14 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007731/1.147, allocations: 270.3 kB / 1.14 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008972/1.148, allocations: 401.7 kB / 1.14 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/1.148, allocations: 8 kB / 1.14 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/1.148, allocations: 0 / 1.14 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.899e-05/1.148, allocations: 28.55 kB / 1.14 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/1.152, allocations: 2.11 MB / 1.142 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/1.152, allocations: 233.1 kB / 1.143 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/1.153, allocations: 116.8 kB / 1.143 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/1.153, allocations: 0 / 1.143 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/1.153, allocations: 38.5 kB / 1.143 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 4.218e-06/1.153, allocations: 7.922 kB / 1.143 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0005116/1.153, allocations: 147.9 kB / 1.143 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/1.153, allocations: 55.41 kB / 1.143 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/1.154, allocations: 191.2 kB / 1.143 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/1.154, allocations: 25.7 kB / 1.143 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/1.154, allocations: 215.3 kB / 1.143 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.601e-05/1.154, allocations: 43.3 kB / 1.143 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/1.154, allocations: 0 / 1.143 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.154, allocations: 330.8 kB / 1.144 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/1.154, allocations: 48.45 kB / 1.144 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/1.154, allocations: 139.8 kB / 1.144 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/1.155, allocations: 73.03 kB / 1.144 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.155, allocations: 4 kB / 1.144 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006092/1.155, allocations: 232.7 kB / 1.144 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/1.155, allocations: 8 kB / 1.144 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.155, allocations: 4 kB / 1.144 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/1.155, allocations: 24.84 kB / 1.144 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/1.156, allocations: 47.92 kB / 1.144 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/1.157, allocations: 1.266 MB / 1.145 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/1.158, allocations: 19.69 kB / 1.145 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/1.158, allocations: 12 kB / 1.145 GB, free: 1.316 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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.0001392/1.158, allocations: 116.8 kB / 1.146 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003926/1.158, allocations: 150.3 kB / 1.146 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/1.158, allocations: 15.81 kB / 1.146 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.47e-05/1.159, allocations: 21.95 kB / 1.146 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.159, allocations: 4 kB / 1.146 GB, free: 1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.159, allocations: 3.953 kB / 1.146 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.159, allocations: 0 / 1.146 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/1.16, allocations: 0.6444 MB / 1.146 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.16, allocations: 0 / 1.146 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/1.16, allocations: 29.62 kB / 1.146 GB, free: 252 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001351/1.16, allocations: 20.84 kB / 1.146 GB, free: 228 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/1.16, allocations: 0 / 1.146 GB, free: 228 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/1.162, allocations: 1.267 MB / 1.148 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.162, allocations: 0.9375 kB / 1.148 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/1.162, allocations: 377.2 kB / 1.148 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/1.162, allocations: 116.8 kB / 1.148 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/1.162, allocations: 0 / 1.148 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/1.163, allocations: 11.98 kB / 1.148 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/1.163, allocations: 23.88 kB / 1.148 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/1.163, allocations: 4 kB / 1.148 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001921/1.163, allocations: 153.6 kB / 1.148 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.51e-07/1.163, allocations: 5.688 kB / 1.148 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005839/1.164, allocations: 75.69 kB / 1.148 GB, free: 14 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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.0009931/1.165, allocations: 1.303 MB / 1.15 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006285/1.165, allocations: 254.7 kB / 1.15 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.165, allocations: 0 / 1.15 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/1.166, allocations: 166.8 kB / 1.15 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005286/1.166, allocations: 57.5 kB / 1.15 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/1.167, allocations: 442.3 kB / 1.151 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/1.168, allocations: 0.8025 MB / 1.151 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002495/1.168, allocations: 38.05 kB / 1.151 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/1.168, allocations: 71.42 kB / 1.151 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of SimCode: time 4.318e-06/1.168, allocations: 4 kB / 1.151 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04834/1.217, allocations: 4.012 MB / 1.155 GB, free: 6.809 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002993/1.217, allocations: 144.1 kB / 1.156 GB, free: 6.613 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/3.692, allocations: 4.031 kB / 1.156 GB, free: 6.609 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)