Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007902/0.0007902, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004922/0.004922, allocations: 169.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.617/1.617, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004785, allocations: 16.06 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1956, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003376/0.199, allocations: 2.875 MB / 0.7908 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.2009, allocations: 1.349 MB / 0.7921 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.266e-05/0.201, allocations: 4 kB / 0.7921 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.2011, allocations: 43.64 kB / 0.7922 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.2015, allocations: 147.3 kB / 0.7923 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.2018, allocations: 135.7 kB / 0.7924 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004131/0.2022, allocations: 458.7 kB / 0.7929 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.2025, allocations: 240.9 kB / 0.7931 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.2027, allocations: 107.5 kB / 0.7932 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.2029, allocations: 151.5 kB / 0.7934 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.203, allocations: 8 kB / 0.7934 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.2033, allocations: 199.6 kB / 0.7936 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/0.2033, allocations: 79.72 kB / 0.7936 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.2035, allocations: 133.2 kB / 0.7938 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.2038, allocations: 355 kB / 0.7941 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2038, allocations: 0 / 0.7941 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2038, allocations: 0 / 0.7941 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2039, allocations: 0 / 0.7941 GB, free: 5.172 MB / 0.6075 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.0006997/0.2046, allocations: 0.503 MB / 0.7946 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2046, allocations: 8.031 kB / 0.7946 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.219e-05/0.2047, allocations: 62.66 kB / 0.7947 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005442/0.2052, allocations: 88.48 kB / 0.7947 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.2055, allocations: 247.2 kB / 0.795 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.2055, allocations: 12.81 kB / 0.795 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.2055, allocations: 20.38 kB / 0.795 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.206, allocations: 324.4 kB / 0.7953 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.206, allocations: 0 / 0.7953 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.2061, allocations: 8 kB / 0.7953 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.2061, allocations: 20.44 kB / 0.7953 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.2065, allocations: 213.5 kB / 0.7955 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.2079, allocations: 1.501 MB / 0.797 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.2083, allocations: 211.6 kB / 0.7972 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.2084, allocations: 44.91 kB / 0.7973 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.2084, allocations: 0 / 0.7973 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.2085, allocations: 42.56 kB / 0.7973 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 8.51e-07/0.2085, allocations: 4 kB / 0.7973 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005145/0.209, allocations: 263.7 kB / 0.7975 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.209, allocations: 51.41 kB / 0.7976 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.2092, allocations: 219.5 kB / 0.7978 GB, free: 1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.2092, allocations: 29.7 kB / 0.7978 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.2093, allocations: 171.7 kB / 0.798 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.2094, allocations: 35.53 kB / 0.798 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.2094, allocations: 25.66 kB / 0.7981 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2095, allocations: 322.8 kB / 0.7984 GB, free: 412 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.486e-05/0.2096, allocations: 43.97 kB / 0.7984 GB, free: 368 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.2098, allocations: 124.5 kB / 0.7985 GB, free: 212 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.21, allocations: 168.4 kB / 0.7987 GB, free: 12 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.21, allocations: 4 kB / 0.7987 GB, free: 8 kB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003721/0.2104, allocations: 218 kB / 0.7989 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.2104, allocations: 4 kB / 0.7989 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2104, allocations: 4 kB / 0.7989 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001348/0.2105, allocations: 33.06 kB / 0.7989 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.2107, allocations: 35.92 kB / 0.799 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009134/0.2116, allocations: 1.319 MB / 0.8003 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.2118, allocations: 27.72 kB / 0.8003 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.2118, allocations: 11.98 kB / 0.8003 GB, free: 14.22 MB / 0.6231 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.2119, allocations: 141.8 kB / 0.8004 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.212, allocations: 19.75 kB / 0.8005 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.212, allocations: 29.42 kB / 0.8005 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.212, allocations: 4 kB / 0.8005 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.212, allocations: 0 / 0.8005 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.212, allocations: 0 / 0.8005 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.2126, allocations: 483.2 kB / 0.8009 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.2126, allocations: 96 / 0.8009 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-05/0.2127, allocations: 27.86 kB / 0.801 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.262e-05/0.2127, allocations: 24.84 kB / 0.801 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.2128, allocations: 0 / 0.801 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008538/0.2136, allocations: 1.33 MB / 0.8023 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2136, allocations: 0 / 0.8023 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.2139, allocations: 236.3 kB / 0.8025 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/0.214, allocations: 108.8 kB / 0.8026 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.214, allocations: 0 / 0.8026 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.2142, allocations: 15.98 kB / 0.8026 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.2142, allocations: 0 / 0.8026 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.2142, allocations: 4 kB / 0.8026 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001193/0.2143, allocations: 145.5 kB / 0.8028 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2143, allocations: 3.938 kB / 0.8028 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000305/0.2146, allocations: 55.84 kB / 0.8028 GB, free: 11.38 MB / 0.6231 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000524/0.2152, allocations: 0.7857 MB / 0.8036 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003754/0.2156, allocations: 234.5 kB / 0.8038 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2156, allocations: 0 / 0.8038 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.2158, allocations: 159.2 kB / 0.804 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.2161, allocations: 39.97 kB / 0.804 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.2183, allocations: 2.247 MB / 0.8062 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.2187, allocations: 0.7595 MB / 0.807 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.682e-05/0.2188, allocations: 17.55 kB / 0.807 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.193e-05/0.2189, allocations: 63.34 kB / 0.807 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.2189, allocations: 4 kB / 0.807 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.2322, allocations: 3.644 MB / 0.8106 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.2324, allocations: 225.9 kB / 0.8108 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/1.814, allocations: 0 / 0.8108 GB, free: 3.125 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)