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.0009933/0.0009934, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001032/0.001032, allocations: 195.5 kB / 16.14 MB, free: 6.715 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.309/1.309, allocations: 205.1 MB / 222 MB, free: 4.762 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.603/1.603, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001316/0.001316, allocations: 70.12 kB / 0.6709 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1958, allocations: 114.6 MB / 0.7828 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004424/0.2002, allocations: 3.237 MB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.2023, allocations: 1.376 MB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.2024, allocations: 7.938 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008873/0.2033, allocations: 314.9 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.2036, allocations: 143.4 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.2039, allocations: 131.7 kB / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.2043, allocations: 458.6 kB / 0.7883 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/0.2046, allocations: 171.8 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.2048, allocations: 123.5 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.205, allocations: 147.4 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.2051, allocations: 16 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.2054, allocations: 203.6 kB / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.2055, allocations: 79.78 kB / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.2056, allocations: 119.3 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.206, allocations: 367 kB / 0.7895 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.206, allocations: 4 kB / 0.7895 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.32e-07/0.206, allocations: 4 kB / 0.7895 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.206, allocations: 0 / 0.7895 GB, free: 6.969 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.0008188/0.2069, allocations: 0.5341 MB / 0.79 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2069, allocations: 8.031 kB / 0.79 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.207, allocations: 62.72 kB / 0.7901 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005545/0.2075, allocations: 80.58 kB / 0.7902 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.2078, allocations: 243.2 kB / 0.7904 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.2078, allocations: 16.81 kB / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.2079, allocations: 16.38 kB / 0.7904 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.2083, allocations: 320.4 kB / 0.7907 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2083, allocations: 0 / 0.7907 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.2084, allocations: 16 kB / 0.7907 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.2084, allocations: 12.44 kB / 0.7908 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.2088, allocations: 221.4 kB / 0.791 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.2103, allocations: 1.505 MB / 0.7924 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.2107, allocations: 203.7 kB / 0.7926 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.2108, allocations: 48.78 kB / 0.7927 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.2108, allocations: 0 / 0.7927 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.2108, allocations: 34.5 kB / 0.7927 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.2108, allocations: 0 / 0.7927 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005353/0.2114, allocations: 263.4 kB / 0.793 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.2114, allocations: 55.41 kB / 0.793 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.2116, allocations: 207.7 kB / 0.7932 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.2117, allocations: 29.7 kB / 0.7932 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.86e-05/0.2118, allocations: 175.6 kB / 0.7934 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.2118, allocations: 31.64 kB / 0.7934 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.2118, allocations: 37.62 kB / 0.7935 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.212, allocations: 330.8 kB / 0.7938 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.505e-05/0.2121, allocations: 43.97 kB / 0.7938 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.2122, allocations: 112.5 kB / 0.7939 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.2124, allocations: 164.4 kB / 0.7941 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2124, allocations: 0 / 0.7941 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003631/0.2128, allocations: 210.1 kB / 0.7943 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2128, allocations: 4 kB / 0.7943 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2129, allocations: 4.281 kB / 0.7943 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.213, allocations: 40.72 kB / 0.7943 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.2132, allocations: 27.98 kB / 0.7944 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009683/0.2141, allocations: 1.319 MB / 0.7957 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.2143, allocations: 27.77 kB / 0.7957 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.2143, allocations: 4 kB / 0.7957 GB, free: 28 kB / 0.6075 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.000137/0.2144, allocations: 145.8 kB / 0.7958 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.2145, allocations: 19.84 kB / 0.7958 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.2145, allocations: 33.42 kB / 0.7959 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2146, allocations: 0 / 0.7959 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2146, allocations: 0 / 0.7959 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2146, allocations: 0 / 0.7959 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/0.2151, allocations: 495 kB / 0.7963 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2152, allocations: 0 / 0.7963 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.697e-05/0.2152, allocations: 11.98 kB / 0.7964 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.93e-05/0.2153, allocations: 28.84 kB / 0.7964 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2153, allocations: 4.062 kB / 0.7964 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008867/0.2162, allocations: 1.323 MB / 0.7977 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2162, allocations: 0 / 0.7977 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.2165, allocations: 236.1 kB / 0.7979 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8e-05/0.2166, allocations: 108.8 kB / 0.798 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.2166, allocations: 0 / 0.798 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.2168, allocations: 16.08 kB / 0.798 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.2168, allocations: 4 kB / 0.798 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.2168, allocations: 7.984 kB / 0.798 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001174/0.217, allocations: 145.5 kB / 0.7982 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.217, allocations: 0 / 0.7982 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003208/0.2173, allocations: 55.84 kB / 0.7982 GB, free: 13.18 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.0005481/0.2178, allocations: 0.7755 MB / 0.799 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.2182, allocations: 226.5 kB / 0.7992 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2183, allocations: 0.5625 kB / 0.7992 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.2185, allocations: 162.6 kB / 0.7994 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.2188, allocations: 37.67 kB / 0.7994 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.2211, allocations: 2.231 MB / 0.8016 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.2214, allocations: 0.7476 MB / 0.8023 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.2216, allocations: 29.53 kB / 0.8023 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.2217, allocations: 63.41 kB / 0.8024 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2217, allocations: 4 kB / 0.8024 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.2357, allocations: 3.735 MB / 0.806 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.2359, allocations: 236.4 kB / 0.8063 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/1.903, allocations: 0 / 0.8063 GB, free: 4.836 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)